PostgreSQLException class Null safety
Exception thrown by PostgreSQLConnection instances.
- Implemented types
Constructors
- PostgreSQLException(String? message, {PostgreSQLSeverity? severity = PostgreSQLSeverity.error, StackTrace? stackTrace})
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-only, inherited
- 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-only, inherited
- 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 non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited