Postgrex v0.13.2 Postgrex.ErrorCode
Summary
Functions
Translates a Postgres error code into a name
Translates a Postgres error name into a list of possible codes. Most error names have only a single code, but there are exceptions
Functions
Translates a Postgres error code into a name
Examples: iex> codetoname("23505") :unique_violation