PostgreSQLException class

Exception thrown by PostgreSQLConnection instances.

Implemented types

Constructors

PostgreSQLException(String? message, {PostgreSQLSeverity? severity = PostgreSQLSeverity.error, StackTrace? stackTrace})
PostgreSQLException.fromFields(List<ErrorField> errorFields)
factory

Properties

code String?
The PostgreSQL error code.
getter/setter pair
columnName String?
getter/setter pair
constraintName String?
getter/setter pair
dataTypeName String?
getter/setter pair
detail String?
Additional details if provided by the database.
getter/setter pair
fileName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hint String?
A hint on how to remedy an error, if provided by the database.
getter/setter pair
internalPosition int?
An index into a query string generated by the database, if provided.
getter/setter pair
internalQuery String?
getter/setter pair
lineNumber int?
getter/setter pair
message String?
A message indicating the error.
getter/setter pair
position int?
An index into an executed query string where an error occurred, if by provided by the database.
getter/setter pair
routineName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaName String?
getter/setter pair
severity PostgreSQLSeverity?
The severity of the exception.
getter/setter pair
stackTrace StackTrace?
A StackTrace if available.
getter/setter pair
tableName String?
getter/setter pair
trace String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited