Códigos SQLSTATE comuns do PostgreSQL, para comparar com PostgreSQLException.code sem depender do texto da mensagem.
Lista completa: https://www.postgresql.org/docs/current/errcodes-appendix.html
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
- adminShutdown → const String
- cannotConnectNow → const String
- checkViolation → const String
- crashShutdown → const String
- deadlockDetected → const String
- divisionByZero → const String
- exclusionViolation → const String
- foreignKeyViolation → const String
- idleInTransactionSessionTimeout → const String
- inFailedSqlTransaction → const String
- insufficientPrivilege → const String
- invalidTextRepresentation → const String
- lockNotAvailable → const String
- notNullViolation → const String
- numericValueOutOfRange → const String
- queryCanceled → const String
- serializationFailure → const String
- stringDataRightTruncation → const String
- syntaxError → const String
- undefinedColumn → const String
- undefinedTable → const String
- uniqueViolation → const String