SqliteFailure class final

A SQLite error preserving both the primary and extended result codes.

Implemented types

Constructors

SqliteFailure(int code, int extendedCode, String message)
Preserves the engine failure without interpreting its message.
const

Properties

code int
Primary SQLite result code, such as BUSY (5) or CONSTRAINT (19).
final
commitRejected bool
Whether the error establishes that this COMMIT was rejected by the server.
no setteroverride
extendedCode int
Extended result code identifying the specific SQLite failure.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Error text returned by the SQLite engine.
final
retryCommit bool
Retry the same COMMIT only while the adapter confirms the transaction is active.
no setteroverride
retryTransaction bool
Whether this failure can be considered for a complete transaction retry.
no setteroverride
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.
override

Operators

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