Skip to content

Struct mdbx::thread_mismatch

ClassList > mdbx > thread_mismatch

Thrown on MDBX_THREAD_MISMATCH , i.e. the transaction/cursor is used by an alien thread.

  • #include <mdbx.h++>

Inherits the following classes: mdbx::exception

Public Functions

Type Name
thread_mismatch (const ::mdbx::error & err)
Constructs the exception from the given error.
virtual ~thread_mismatch () 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 thread_mismatch

Constructs the exception from the given error.

mdbx::thread_mismatch::thread_mismatch (
    const ::mdbx::error & err
) 

Parameters:

  • err The error information.

function ~thread_mismatch

Destroys the exception.

virtual mdbx::thread_mismatch::~thread_mismatch () noexcept


The documentation for this class was generated from the following file mdbx.h++