mozIStorageError

Attributes

result

Indicates what type of error occurred.

message

An error string the gives more details, if available.

Constants

ERROR

General SQL error or missing database.

INTERNAL

Internal logic error.

PERM

Access permission denied.

ABORT

A callback routine requested an abort.

BUSY

The database file is locked.

LOCKED

A table in the database is locked.

NOMEM

An allocation failed.

READONLY

Attempt to write to a readonly database.

INTERRUPT

Operation was terminated by an interrupt.

IOERR

Some kind of disk I/O error occurred.

CORRUPT

The database disk image is malformed.

FULL

An insertion failed because the database is full.

CANTOPEN

Unable to open the database file.

EMPTY

The database is empty.

SCHEMA

The database scheme changed.

TOOBIG

A string or blob exceeds the size limit.

CONSTRAINT

Abort due to a constraint violation.

MISMATCH

Data type mismatch.

MISUSE

Library used incorrectly.

NOLFS

Uses OS features not supported on the host system.

AUTH

Authorization denied.

FORMAT

Auxiliary database format error.

RANGE

Attempt to bind a parameter using an out-of-range index or nonexistent
named parameter name.

NOTADB

File opened that is not a database file.