Tries to deduce whether a thrown error is a database conflict.
PostgreSQL unique constraint violations are detected by their SQLSTATE code,
since PostgreSQL localizes error messages based on the database
configuration.
Parameters
e: unknown
A thrown error
Returns boolean
True if the error looks like it was a conflict error thrown by a
known database engine
Tries to deduce whether a thrown error is a database conflict.
PostgreSQL unique constraint violations are detected by their SQLSTATE code, since PostgreSQL localizes error messages based on the database configuration.