Postgres module

error_fields

procedure · 1 overloadsince 0.30.0Source

The fields of the error, never null: Pg.error_fields(error).constraint.

error_fields :: (error: Pg_Error) -> *Error_Fields

The fields of the error, never null: Pg.error_fields(error).constraint.

Parameters

error: Pg_Error
the error to read. One that did not come from the server has empty fields.

Returns

See also