SqliteException class Null safety
Thrown by sqlite methods.
This is the only exception thrown by package:sqlite3
. Additionally, errors
might be thrown on api misuse.
- Implemented types
Constructors
- SqliteException(int extendedResultCode, String message, [String? explanation, String? causingStatement])
Properties
- causingStatement → String?
-
The SQL statement triggering this exception.
final
- explanation → String?
-
An optional explanation providing more detail on what went wrong.
final
- extendedResultCode → int
-
SQLite extended result code.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- message → String
-
An error message indicating what went wrong.
final
- resultCode → int
-
SQLite primary result code.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited