DbasSqliteErrorCategory enum

High-level grouping of DbasSqliteErrorCode values. Use this for switch-based recovery decisions; use the underlying DbasSqliteErrorCode for test assertions and telemetry IDs.

Inheritance
Available extensions

Values

notOpened → const DbasSqliteErrorCategory

Caller tried to use an unopened, closed, or closing database / statement.

busyOrCancelled → const DbasSqliteErrorCategory

A connection / writer-lock / reader-slot wait timed out or was cancelled.

prepareFailed → const DbasSqliteErrorCategory

sqlite3_prepare_v2 (or equivalent) refused the SQL.

executeFailed → const DbasSqliteErrorCategory

Step (DDL/DML/SELECT) returned a non-OK / non-row / non-done rc.

bindFailed → const DbasSqliteErrorCategory

A bind call rejected the value (range, type mismatch, or unknown name when throwOnMissingNamedParams is enabled).

transactionFailed → const DbasSqliteErrorCategory

BEGIN/COMMIT/ROLLBACK/VACUUM failed at the SQL or wrapper layer.

readerStateFailed → const DbasSqliteErrorCategory

A reader-lifecycle invariant was violated (e.g. two readers per stmt).

decodeFailed → const DbasSqliteErrorCategory

Column accessor could not decode the raw value (decimal, time, enum).

internal → const DbasSqliteErrorCategory

Generic / wrapper-internal — should be rare.

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<DbasSqliteErrorCategory>
A constant List of the values in this enum, in order of their declaration.