Module: SQLite3::Constants::ErrorCode

Defined in:
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/constants.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/constants.rb

Constant Summary collapse

OK =

Successful result

0
ERROR =

SQL error or missing database

1
INTERNAL =

An internal logic error in SQLite

2
PERM =

Access permission denied

3
ABORT =

Callback routine requested an abort

4
BUSY =

The database file is locked

5
LOCKED =

A table in the database is locked

6
NOMEM =

A malloc() failed

7
READONLY =

Attempt to write a readonly database

8
INTERRUPT =

Operation terminated by sqlite_interrupt()

9
IOERR =

Some kind of disk I/O error occurred

10
CORRUPT =

The database disk image is malformed

11
NOTFOUND =

(Internal Only) Table or record not found

12
FULL =

Insertion failed because database is full

13
CANTOPEN =

Unable to open the database file

14
PROTOCOL =

Database lock protocol error

15
EMPTY =

(Internal Only) Database table is empty

16
SCHEMA =

The database schema changed

17
TOOBIG =

Too much data for one row of a table

18
CONSTRAINT =

Abort due to constraint violation

19
MISMATCH =

Data type mismatch

20
MISUSE =

Library used incorrectly

21
NOLFS =

Uses OS features not supported on host

22
AUTH =

Authorization denied

23
ROW =

sqlite_step() has another row ready

100
DONE =

sqlite_step() has finished executing

101