ServerException class

Exception thrown by the server.

Inheritance

Constructors

ServerException(String message, {Severity? severity})
ServerException.fromFields(List<ErrorField> errorFields)
factory

Properties

code String?
The PostgreSQL error code.
final
columnName String?
final
constraintName String?
final
dataTypeName String?
final
detail String?
Additional details if provided by the database.
final
fileName String?
final
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.
final
internalPosition int?
An index into a query string generated by the database, if provided.
final
internalQuery String?
final
lineNumber int?
final
message String
A message indicating the error.
finalinherited
position int?
An index into an executed query string where an error occurred, if by provided by the database.
final
routineName String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaName String?
final
severity Severity
The severity of the exception.
finalinherited
tableName String?
final
trace String?
final

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