SqlErrorCode enum

Stable categories for database failures.

Inheritance
Available extensions

Values

invalidValue → const SqlErrorCode

A value cannot be represented or encoded by the selected database.

invalidRow → const SqlErrorCode

A returned row does not match its expected shape or codec.

constraint → const SqlErrorCode

A database constraint rejected the operation.

unsupported → const SqlErrorCode

The selected database does not implement the requested operation.

unavailable → const SqlErrorCode

The database is temporarily unavailable.

closed → const SqlErrorCode

The operation used a database after it was closed.

driver → const SqlErrorCode

A driver failure has no more specific portable classification.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<SqlErrorCode>
A constant List of the values in this enum, in order of their declaration.