Struct mdbx::bad_transaction
ClassList > mdbx > bad_transaction
Thrown on MDBX_BAD_TXN , i.e. a transaction handle is invalid or was used after being finished.
#include <mdbx.h++>
Inherits the following classes: mdbx::exception
Public Functions
| Type | Name |
|---|---|
| bad_transaction (const ::mdbx::error & err) Constructs the exception from the given error. |
|
| virtual | ~bad_transaction () 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 bad_transaction
Constructs the exception from the given error.
mdbx::bad_transaction::bad_transaction (
const ::mdbx::error & err
)
Parameters:
errThe error information.
function ~bad_transaction
Destroys the exception.
virtual mdbx::bad_transaction::~bad_transaction () noexcept
The documentation for this class was generated from the following file mdbx.h++