Struct mdbx::key_exists
ClassList > mdbx > key_exists
Thrown on MDBX_KEYEXIST , i.e. the key/data pair already exists and_MDBX_NOOVERWRITE _was specified.
#include <mdbx.h++>
Inherits the following classes: mdbx::exception
Public Functions
| Type | Name |
|---|---|
| key_exists (const ::mdbx::error & err) Constructs the exception from the given error. |
|
| virtual | ~key_exists () noexcept Destroys the exception. |
Public Functions inherited from mdbx::exception
See mdbx::exception
| Type | Name |
|---|---|
| const ::mdbx::error | error () noexcept const Returns the error information. |
| exception (const ::mdbx::error & err) Constructs the exception from the given error. |
|
| exception (const exception &) = default Copy constructor. |
|
| exception (exception &&) = default Move constructor. |
|
| exception & | operator= (const exception &) = default Copy assignment operator. |
| exception & | operator= (exception &&) = default Move assignment operator. |
| virtual | ~exception () noexcept Destroys the exception. |
Public Functions Documentation
function key_exists
Constructs the exception from the given error.
mdbx::key_exists::key_exists (
const ::mdbx::error & err
)
Parameters:
errThe error information.
function ~key_exists
Destroys the exception.
virtual mdbx::key_exists::~key_exists () noexcept
The documentation for this class was generated from the following file mdbx.h++