Skip to content

Struct mdbx::db_version_mismatch

ClassList > mdbx > db_version_mismatch

Thrown on MDBX_VERSION_MISMATCH , i.e. the database was created by an incompatible version of libmdbx.

  • #include <mdbx.h++>

Inherits the following classes: mdbx::exception

Public Functions

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

Constructs the exception from the given error.

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

Parameters:

  • err The error information.

function ~db_version_mismatch

Destroys the exception.

virtual mdbx::db_version_mismatch::~db_version_mismatch () noexcept


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