Return codes -
BerkeleyDB uses -30800 to -30999, we'll go under them
Successful result
key/data pair already exists
key/data pair not found (EOF)
Requested page not found - this usually indicates corruption
Located page was wrong type
Update of meta page failed, probably I/O error
Environment version mismatch
File is not a valid LMDB file
Environment mapsize reached
Environment maxdbs reached
Environment maxreaders reached
Too many TLS keys in use - Windows only
Txn has too many dirty pages
Cursor stack too deep - internal error
Page has not enough space - internal error
Database contents grew beyond environment mapsize
MDB_INCOMPATIBLE: Operation and DB incompatible, or DB flags changed
Invalid reuse of reader locktable slot
Transaction cannot recover - it must be aborted
Unsupported size of key/DB name/data, or wrong DUPFIXED size
The specified DBI was changed unexpectedly
The last defined error code
Generated automatically by Doxygen for LMDB from the source code.