Base class for LMDB exception conditions.
More...
#include <lmdb++.h>
|
| error (const char *const origin, const int rc) noexcept |
| Constructor. More...
|
|
int | code () const noexcept |
| Returns the underlying LMDB error code. More...
|
|
const char * | origin () const noexcept |
| Returns the origin of the LMDB error. More...
|
|
virtual const char * | what () const noexcept |
| Returns the underlying LMDB error code. More...
|
|
|
static void | raise (const char *origin, int rc) |
| Throws an error based on the given LMDB return code. More...
|
|
Base class for LMDB exception conditions.
- See also
- http://symas.com/mdb/doc/group__errors.html
lmdb::error::error |
( |
const char *const |
origin, |
|
|
const int |
rc |
|
) |
| |
|
inlinenoexcept |
int lmdb::error::code |
( |
| ) |
const |
|
inlinenoexcept |
Returns the underlying LMDB error code.
const char* lmdb::error::origin |
( |
| ) |
const |
|
inlinenoexcept |
Returns the origin of the LMDB error.
void lmdb::error::raise |
( |
const char * |
origin, |
|
|
int |
rc |
|
) |
| |
|
inlinestatic |
Throws an error based on the given LMDB return code.
virtual const char* lmdb::error::what |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Returns the underlying LMDB error code.
const int lmdb::error::_code |
|
protected |
The documentation for this class was generated from the following file: