Monero
Loading...
Searching...
No Matches
error.h File Reference
#include <system_error>
#include <type_traits>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::is_error_code_enum<::lmdb::error >

Namespaces

namespace  lmdb
namespace  std

Macros

#define MONERO_LMDB_CHECK(...)
 Executes a LMDB command, and returns errors via lmdb::error enum.

Enumerations

enum class  lmdb::error : int
 Tracks LMDB error codes. More...

Functions

std::error_category constlmdb::error_category () noexcept
std::error_code lmdb::make_error_code (error value) noexcept

Macro Definition Documentation

◆ MONERO_LMDB_CHECK

#define MONERO_LMDB_CHECK ( ...)
Value:
do \
{ \
const int err = __VA_ARGS__ ; \
if (err) \
return {lmdb::error(err)}; \
} while (0)
error
Tracks LMDB error codes.
Definition error.h:45

Executes a LMDB command, and returns errors via lmdb::error enum.