chickadee » sql-de-lite » error-code

error-code dbprocedure

Returns the last database error code as a symbol.

Symbol C error code
ok SQLITE_OK
error SQLITE_ERROR
internal SQLITE_INTERNAL
permission SQLITE_PERM
abort SQLITE_ABORT
busy SQLITE_BUSY
locked SQLITE_LOCKED
no-memory SQLITE_NOMEM
read-only SQLITE_READONLY
interrupt SQLITE_INTERRUPT
io-error SQLITE_IOERR
corrupt SQLITE_CORRUPT
not-found SQLITE_NOTFOUND
full SQLITE_FULL
cant-open SQLITE_CANTOPEN
protocol SQLITE_PROTOCOL
empty SQLITE_EMPTY
schema SQLITE_SCHEMA
too-big SQLITE_TOOBIG
constraint SQLITE_CONSTRAINT
mismatch SQLITE_MISMATCH
misuse SQLITE_MISUSE
no-lfs SQLITE_NOLFS
authorization SQLITE_AUTH
format SQLITE_FORMAT
range SQLITE_RANGE
not-a-database SQLITE_NOTADB
row SQLITE_ROW
done SQLITE_DONE