Appendix C. Symbian SQL Error Codes

Identifier

Value

Description

KSqlErrGeneral

−311

SQL error or missing database

KSqlErrInternal

−312

Internal logic error

KSqlErrPermission

−313

Access permission denied

KSqlErrAbort

−314

Callback routine requested an abort

KSqlErrBusy

−315

Database file is locked

KSqlErrLocked

−316

Table in a database is locked

KSqlErrNoMem

−317

Out of memory (not used in the current version of Symbian SQL)

KSqlErrReadOnly

−318

Attempt to write to a read-only database

KSqlErrInterrupt

−319

Operation terminated by sqlite3_interrupt

KSqlErrIO

−320

I/O error

KSqlErrCorrupt

−321

Database file image invalid

KSqlErrNotFound

−322

Table or record not found

KSqlErrFull

−323

Database is full

KSqlErrCantOpen

−324

Unable to open database file

KSqlErrProtocol

−325

Database lock protocol error

KSqlErrEmpty

−326

Database is empty

KSqlErrSchema

−327

Bad schema

KSqlErrTooBig

−328

Too much data for one row

KSqlErrConstraint

−329

Constraint violation

KSqlErrMismatch

−330

Data type mismatch

KSqlErrMisuse

−331

Library used incorrectly

KSqlErrNoLFS

−332

Uses operating system features not supported on host (not used in the current version of Symbian SQL)

KSqlErrAuthorization

−333

Authorization denied (not used in the current version of Symbian SQL)

KSqlErrFormat

−334

Auxiliary database format error (not used in the current version of Symbian SQL)

KSqlErrRange

−335

Bind parameter is out of range

KSqlErrNotDb

−336

Not a database file

KSqlErrStmtExpired

−360

SQL statement has expired and needs to be prepared again

Get Inside Symbian SQL: A Mobile Developer's Guide to SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.