Skip to content

Struct mdbx::key_mismatch

ClassList > mdbx > key_mismatch

Thrown on MDBX_EKEYMISMATCH , i.e. an insert with the append hint but the key is not the last one.

  • #include <mdbx.h++>

Inherits the following classes: mdbx::exception

Public Functions

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

Constructs the exception from the given error.

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

Parameters:

  • err The error information.

function ~key_mismatch

Destroys the exception.

virtual mdbx::key_mismatch::~key_mismatch () noexcept


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