Public Attributes

mozIStorageError Interface Reference

import "mozIStorageError.idl";

List of all members.

Public Attributes

const long ERROR = 1
 General SQL error or missing database.
const long INTERNAL = 2
 Internal logic error.
const long PERM = 3
 Access permission denied.
const long ABORT = 4
 A callback routine requested an abort.
const long BUSY = 5
 The database file is locked.
const long LOCKED = 6
 A table in the database is locked.
const long NOMEM = 7
 An allocation failed.
const long READONLY = 8
 Attempt to write to a readonly database.
const long INTERRUPT = 9
 Operation was terminated by an interrupt.
const long IOERR = 10
 Some kind of disk I/O error occurred.
const long CORRUPT = 11
 The database disk image is malformed.
const long FULL = 13
 An insertion failed because the database is full.
const long CANTOPEN = 14
 Unable to open the database file.
const long EMPTY = 16
 The database is empty.
const long SCHEMA = 17
 The database scheme changed.
const long TOOBIG = 18
 A string or blob exceeds the size limit.
const long CONSTRAINT = 19
 Abort due to a constraint violation.
const long MISMATCH = 20
 Data type mismatch.
const long MISUSE = 21
 Library used incorrectly.
const long NOLFS = 22
 Uses OS features not supported on the host system.
const long AUTH = 23
 Authorization denied.
const long FORMAT = 24
 Auxiliary database format error.
const long NOTADB = 26
 File opened that is not a database file.
readonly attribute long result
 Indicates what type of error occurred.
readonly attribute AUTF8String message
 An error string the gives more details, if available.

Member Data Documentation

const long mozIStorageError::ABORT = 4

A callback routine requested an abort.

const long mozIStorageError::AUTH = 23

Authorization denied.

const long mozIStorageError::BUSY = 5

The database file is locked.

const long mozIStorageError::CANTOPEN = 14

Unable to open the database file.

Abort due to a constraint violation.

const long mozIStorageError::CORRUPT = 11

The database disk image is malformed.

const long mozIStorageError::EMPTY = 16

The database is empty.

const long mozIStorageError::ERROR = 1

General SQL error or missing database.

const long mozIStorageError::FORMAT = 24

Auxiliary database format error.

const long mozIStorageError::FULL = 13

An insertion failed because the database is full.

Internal logic error.

Operation was terminated by an interrupt.

const long mozIStorageError::IOERR = 10

Some kind of disk I/O error occurred.

const long mozIStorageError::LOCKED = 6

A table in the database is locked.

readonly attribute AUTF8String mozIStorageError::message

An error string the gives more details, if available.

const long mozIStorageError::MISMATCH = 20

Data type mismatch.

const long mozIStorageError::MISUSE = 21

Library used incorrectly.

const long mozIStorageError::NOLFS = 22

Uses OS features not supported on the host system.

const long mozIStorageError::NOMEM = 7

An allocation failed.

const long mozIStorageError::NOTADB = 26

File opened that is not a database file.

const long mozIStorageError::PERM = 3

Access permission denied.

Attempt to write to a readonly database.

readonly attribute long mozIStorageError::result

Indicates what type of error occurred.

const long mozIStorageError::SCHEMA = 17

The database scheme changed.

const long mozIStorageError::TOOBIG = 18

A string or blob exceeds the size limit.


The documentation for this interface was generated from the following file: