lmdb++
Loading...
Searching...
No Matches
lmdb::runtime_error Class Reference

Base class for runtime error conditions. More...

#include <lmdb++.h>

Inheritance diagram for lmdb::runtime_error:
lmdb::error lmdb::bad_dbi_error lmdb::key_exist_error lmdb::map_full_error lmdb::not_found_error

Public Member Functions

 error (const char *const origin, const int rc) noexcept
 Constructor.
 
- Public Member Functions inherited from lmdb::error
 error (const char *const origin, const int rc) noexcept
 Constructor.
 
int code () const noexcept
 Returns the underlying LMDB error code.
 
const char * origin () const noexcept
 Returns the origin of the LMDB error.
 
virtual const char * what () const noexcept
 Returns the underlying LMDB error code.
 

Additional Inherited Members

- Static Public Member Functions inherited from lmdb::error
static void raise (const char *origin, int rc)
 Throws an error based on the given LMDB return code.
 
- Protected Attributes inherited from lmdb::error
const int _code
 

Detailed Description

Base class for runtime error conditions.

Member Function Documentation

◆ error()

lmdb::error::error ( const char *const origin,
const int rc )
inlinenoexcept

Constructor.


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