lmdb++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lmdb::logic_error Class Reference

Base class for logic error conditions. More...

#include <lmdb++.h>

Inheritance diagram for lmdb::logic_error:
lmdb::error

Public Member Functions

 error (const char *const origin, const int rc) noexcept
 Constructor. More...
 
- Public Member Functions inherited from lmdb::error
 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...
 

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. More...
 
- Protected Attributes inherited from lmdb::error
const int _code
 

Detailed Description

Base class for logic 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: