SqliteException class final

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, List<Object?>? parametersToStatement, String? operation])

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.
no setterinherited
message String
An error message indicating what went wrong.
final
operation String?
An informal description of what the sqlite3 package was attempting to do when the exception occured, e.g. "preparing a statement", "opening the database".
final
parametersToStatement List<Object?>?
If this exception has a causingStatement, this list contains the parameters used to run that statement.
final
resultCode int
SQLite primary result code.
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.
override

Operators

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