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.
Constants
- duplicateTable → String
-
"42P07"
- foreignKeyViolation → String
-
"23503"
- notNullViolation → String
-
"23502"
- undefinedColumn → String
-
"42703"
- undefinedTable → String
-
"42P01"
- uniqueViolation → String
-
"23505"
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited