PostgreSQLErrorCode class
Commonly used error codes from PostgreSQL.
When a QueryException.underlyingException is a PostgreSQLException
, this PostgreSQLException.code
value may be one of the static properties declared in this class.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- duplicateTable → const String
- foreignKeyViolation → const String
- notNullViolation → const String
- undefinedColumn → const String
- undefinedTable → const String
- uniqueViolation → const String