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.
read / write
- columnName ↔ String?
-
read / write
- constraintName ↔ String?
-
read / write
- dataTypeName ↔ String?
-
read / write
- detail ↔ String?
-
Additional details if provided by the database.
read / write
- fileName ↔ String?
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- hint ↔ String?
-
A hint on how to remedy an error, if provided by the database.
read / write
- internalPosition ↔ int?
-
An index into a query string generated by the database, if provided.
read / write
- internalQuery ↔ String?
-
read / write
- lineNumber ↔ int?
-
read / write
- message ↔ String?
-
A message indicating the error.
read / write
- position ↔ int?
-
An index into an executed query string where an error occurred, if by provided by the database.
read / write
- routineName ↔ String?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- schemaName ↔ String?
-
read / write
- severity ↔ PostgreSQLSeverity?
-
The severity of the exception.
read / write
- stackTrace ↔ StackTrace?
-
A StackTrace if available.
read / write
- tableName ↔ String?
-
read / write
- trace ↔ String?
-
read / write
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