The ErrorCodes type exposes the following members.

Fields

  NameDescription
DB_BUFFER_SMALL
User memory too small for return.
DB_DONOTINDEX
"Null" return from secondary callback.
DB_FOREIGN_CONFLICT
A foreign database constraint triggered.
DB_HEAP_FULL
Heap database full.
DB_KEYEMPTY
Key/data deleted or never created.
DB_KEYEXIST
The key/data pair already exists.
DB_LOCK_DEADLOCK
Deadlock.
DB_LOCK_NOTGRANTED
Lock unavailable.
DB_LOG_BUFFER_FULL
In-memory log buffer full.
DB_META_CHKSUM_FAIL
Checksum mismatch detected.
DB_NOSERVER
Server panic return.
DB_NOTFOUND
Key/data pair not found (EOF).
DB_OLD_VERSION
Out-of-date version.
DB_PAGE_NOTFOUND
Requested page not found.
DB_REP_DUPMASTER
There are two masters.
DB_REP_HANDLE_DEAD
Rolled back a commit.
DB_REP_HOLDELECTION
Time to hold an election.
DB_REP_IGNORE
This message should be ignored.
DB_REP_INELECT
Election in progress.
DB_REP_ISPERM
Cached not written perm written.
DB_REP_JOIN_FAILURE
Unable to join replication group.
DB_REP_LEASE_EXPIRED
Master lease has expired.
DB_REP_LOCKOUT
API/Replication lockout now.
DB_REP_NEWSITE
New site entered system.
DB_REP_NOTPERM
Permanent log record not written.
DB_REP_UNAVAIL
Site cannot currently be reached.
DB_RUNRECOVERY
Panic return.
DB_SECONDARY_BAD
Secondary index corrupt.
DB_VERIFY_BAD
Verify failed; bad format.
DB_VERSION_MISMATCH
Environment version mismatch.

See Also