db++ error codes

DB++ Error Codes
PHP Constant db++ constant meaning
DBPLUS_ERR_NOERR (int) ERR_NOERR Null error condition
DBPLUS_ERR_DUPLICATE (int) ERR_DUPLICATE Tried to insert a duplicate tuple
DBPLUS_ERR_EOSCAN (int) ERR_EOSCAN End of scan from rget()
DBPLUS_ERR_EMPTY (int) ERR_EMPTY Relation is empty (server)
DBPLUS_ERR_CLOSE (int) ERR_CLOSE The server can't close
DBPLUS_ERR_WLOCKED (int) ERR_WLOCKED The record is write locked
DBPLUS_ERR_LOCKED (int) ERR_LOCKED Relation was already locked
DBPLUS_ERR_NOLOCK (int) ERR_NOLOCK Relation cannot be locked
DBPLUS_ERR_READ (int) ERR_READ Read error on relation
DBPLUS_ERR_WRITE (int) ERR_WRITE Write error on relation
DBPLUS_ERR_CREATE (int) ERR_CREATE Create() system call failed
DBPLUS_ERR_LSEEK (int) ERR_LSEEK Lseek() system call failed
DBPLUS_ERR_LENGTH (int) ERR_LENGTH Tuple exceeds maximum length
DBPLUS_ERR_OPEN (int) ERR_OPEN Open() system call failed
DBPLUS_ERR_WOPEN (int) ERR_WOPEN Relation already opened for writing
DBPLUS_ERR_MAGIC (int) ERR_MAGIC File is not a relation
DBPLUS_ERR_VERSION (int) ERR_VERSION File is a very old relation
DBPLUS_ERR_PGSIZE (int) ERR_PGSIZE Relation uses a different page size
DBPLUS_ERR_CRC (int) ERR_CRC Invalid crc in the superpage
DBPLUS_ERR_PIPE (int) ERR_PIPE Piped relation requires lseek()
DBPLUS_ERR_NIDX (int) ERR_NIDX Too many secondary indices
DBPLUS_ERR_MALLOC (int) ERR_MALLOC Malloc() call failed
DBPLUS_ERR_NUSERS (int) ERR_NUSERS Error use of max users
DBPLUS_ERR_PREEXIT (int) ERR_PREEXIT Caused by invalid usage
DBPLUS_ERR_ONTRAP (int) ERR_ONTRAP Caused by a signal
DBPLUS_ERR_PREPROC (int) ERR_PREPROC Error in the preprocessor
DBPLUS_ERR_DBPARSE (int) ERR_DBPARSE Error in the parser
DBPLUS_ERR_DBRUNERR (int) ERR_DBRUNERR Run error in db
DBPLUS_ERR_DBPREEXIT (int) ERR_DBPREEXIT Exit condition caused by prexit() * procedure
DBPLUS_ERR_WAIT (int) ERR_WAIT Wait a little (Simple only)
DBPLUS_ERR_CORRUPT_TUPLE (int) ERR_CORRUPT_TUPLE A client sent a corrupt tuple
DBPLUS_ERR_WARNING0 (int) ERR_WARNING0 The Simple routines encountered a non fatal error which was corrected
DBPLUS_ERR_PANIC (int) ERR_PANIC The server should not really die but after a disaster send ERR_PANIC to all its clients
DBPLUS_ERR_FIFO (int) ERR_FIFO Can't create a fifo
DBPLUS_ERR_PERM (int) ERR_PERM Permission denied
DBPLUS_ERR_TCL (int) ERR_TCL TCL_error
DBPLUS_ERR_RESTRICTED (int) ERR_RESTRICTED Only two users
DBPLUS_ERR_USER (int) ERR_USER An error in the use of the library by an application programmer
DBPLUS_ERR_UNKNOWN (int) ERR_UNKNOWN