DatabaseQueryException class abstract base

Exception thrown when an exception occurs during a database query.

Implemented types

Properties

code String?
Returns the error code of the exception.
no setter
columnName String?
Returns the name of the column where the error occurred.
no setter
constraintName String?
Returns the name of the constraint that was violated.
no setter
detail String?
Additional details if provided by the database.
no setter
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.
no setter
message String
Returns the message of the exception.
no setterinherited
position int?
Returns the position in the query where the error occurred.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String?
Returns the name of the table where the error occurred.
no setter

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