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