Skip to content

Struct mdbx::db_corrupted

ClassList > mdbx > db_corrupted

Thrown on MDBX_CORRUPTED , i.e. the database is corrupted or an invalid data was detected.

  • #include <mdbx.h++>

Inherits the following classes: mdbx::exception

Public Functions

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

Constructs the exception from the given error.

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

Parameters:

  • err The error information.

function ~db_corrupted

Destroys the exception.

virtual mdbx::db_corrupted::~db_corrupted () noexcept


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