ConstraintViolationExceptionMessage
Messages for ConstraintViolationException representing specific database integrity rules.
Corresponds to PostgreSQL Class 23 (Integrity Constraint Violation).
Entries
A duplicate value was provided for a unique column or index (PostgreSQL 23505).
A value was provided that does not exist in the referenced table (PostgreSQL 23503).
A null value was provided for a non-nullable column (PostgreSQL 23502).
A value was provided that fails a CHECK constraint (PostgreSQL 23514).
General data integrity error, such as exclusion constraint violations (PostgreSQL 23P01).
A constraint violation that occurred at the end of a transaction for a deferred constraint.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.