Expand description
Error values and types returned by LMDB and this wrapper.
Enums§
- Error
- Error type returned by LMDB.
Constants§
- BAD_DBI
- The specified DBI was changed unexpectedly
- BAD_
RSLOT - Invalid reuse of reader locktable slot
- BAD_TXN
- Transaction must abort, has a child, or is invalid
- BAD_
VALSIZE - Unsupported size of key/DB name/data, or wrong
DUPFIXEDsize - CORRUPTED
- Located page was wrong type
- CURSOR_
FULL - Cursor stack too deep - internal error
- DBS_
FULL - Environment maxdbs reached
- INCOMPATIBLE
- Operation and DB incompatible, or DB type changed. This can mean:
- INVALID
- File is not a valid LMDB file
- KEYEXIST
- key/data pair already exists
- MAP_
FULL - Environment mapsize reached
- MAP_
RESIZED - Database contents grew beyond environment mapsize
- NOTFOUND
- key/data pair not found (EOF)
- PAGE_
FULL - Page has not enough space - internal error
- PAGE_
NOTFOUND - Requested page not found - this usually indicates corruption
- PANIC
- Update of meta page failed or environment had fatal error
- READERS_
FULL - Environment maxreaders reached
- TLS_
FULL - Too many TLS keys in use - Windows only
- TXN_
FULL - Txn has too many dirty pages
- VERSION_
MISMATCH - Environment version mismatch
Traits§
- Lmdb
Result Ext - Extension methods for LMDB results
Type Aliases§
- Result
- Result type returned for all calls that can fail.