Class mdbx::exception
Base class for all libmdbx's exceptions that correspond to libmdbx errors. More...
#include <mdbx.h++>
Inherits the following classes: std::runtime_error
Inherited by the following classes: mdbx::bad_map_id, mdbx::bad_transaction, mdbx::bad_value_size, mdbx::dangling_map_id, mdbx::db_corrupted, mdbx::db_full, mdbx::db_invalid, mdbx::db_too_large, mdbx::db_unable_extend, mdbx::db_version_mismatch, mdbx::db_wanna_write_for_recovery, mdbx::duplicated_lck_file, mdbx::fatal, mdbx::incompatible_operation, mdbx::internal_page_full, mdbx::internal_problem, mdbx::key_exists, mdbx::key_mismatch, mdbx::laggard_reader, mdbx::max_maps_reached, mdbx::max_readers_reached, mdbx::multivalue, mdbx::mvcc_retarded, mdbx::no_data, mdbx::not_found, mdbx::operation_not_permitted, mdbx::permission_denied_or_not_writeable, mdbx::reader_slot_busy, mdbx::remote_media, mdbx::something_busy, mdbx::thread_mismatch, mdbx::transaction_full, mdbx::transaction_ousted, mdbx::transaction_overlapping
Public Functions
| 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. |
Detailed Description
See also: MDBX_error_t
Public Functions Documentation
function error
Returns the error information.
inline const ::mdbx::error mdbx::exception::error () noexcept const
Returns:
The stored mdbx::error instance.
function exception [1/3]
Constructs the exception from the given error.
mdbx::exception::exception (
const ::mdbx::error & err
)
Parameters:
errThe error information.
function exception [2/3]
Copy constructor.
mdbx::exception::exception (
const exception &
) = default
function exception [3/3]
Move constructor.
mdbx::exception::exception (
exception &&
) = default
function operator=
Copy assignment operator.
exception & mdbx::exception::operator= (
const exception &
) = default
Returns:
A reference to this instance.
function operator=
Move assignment operator.
exception & mdbx::exception::operator= (
exception &&
) = default
Returns:
A reference to this instance.
function ~exception
Destroys the exception.
virtual mdbx::exception::~exception () noexcept
The documentation for this class was generated from the following file mdbx.h++