SqlError class Null safety

Common result codes, https://www.sqlite.org/rescode.html Result Codes

Many SQLite functions return an integer result code from the set shown here in order to indicates success or failure.

New error codes may be added in future versions of SQLite.

See also: SQLITE_IOERR_READ | extended result codes, sqlite3_vtab_on_conflictstatic const int ) SQLITE_ROLLBACK | result codes.

Constructors

SqlError()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

SQLITE_ABORT → const int
Callback routine requested an abort
4
SQLITE_AUTH → const int
Authorization denied
23
SQLITE_BUSY → const int
The database file is locked
5
SQLITE_CANTOPEN → const int
Unable to open the database file
14
SQLITE_CONSTRAINT → const int
Abort due to constraint violation
19
SQLITE_CORRUPT → const int
The database disk image is malformed
11
SQLITE_DONE → const int
sqlite3_stepstatic const int ) has finished executing
101
SQLITE_EMPTY → const int
Internal use only
16
SQLITE_ERROR → const int
Generic error
1
SQLITE_FORMAT → const int
Not used
24
SQLITE_FULL → const int
Insertion failed because database is full
13
SQLITE_INTERNAL → const int
Internal logic error in SQLite
2
SQLITE_INTERRUPT → const int
Operation terminated by sqlite3_interruptstatic const int )
9
SQLITE_IOERR → const int
Some kind of disk I/O error occurred
10
SQLITE_LOCKED → const int
A table in the database is locked
6
SQLITE_MISMATCH → const int
Data type mismatch
20
SQLITE_MISUSE → const int
Library used incorrectly
21
SQLITE_NOLFS → const int
Uses OS features not supported on host
22
SQLITE_NOMEM → const int
A mallocstatic const int ) failed
7
SQLITE_NOTADB → const int
File opened that is not a database file
26
SQLITE_NOTFOUND → const int
Unknown opcode in sqlite3_file_controlstatic const int )
12
SQLITE_NOTICE → const int
Notifications from sqlite3_logstatic const int )
27
SQLITE_OK → const int
Successful result
0
SQLITE_PERM → const int
Access permission denied
3
SQLITE_PROTOCOL → const int
Database lock protocol error
15
SQLITE_RANGE → const int
2nd parameter to sqlite3_bind out of range
25
SQLITE_READONLY → const int
Attempt to write a readonly database
8
SQLITE_ROW → const int
sqlite3_stepstatic const int ) has another row ready
100
SQLITE_SCHEMA → const int
The database schema changed
17
SQLITE_TOOBIG → const int
String or BLOB exceeds size limit
18
SQLITE_WARNING → const int
Warnings from sqlite3_logstatic const int )
28