#include <system_error>
#include <type_traits>
Go to the source code of this file.
|
| namespace | lmdb |
| namespace | std |
| | STL namespace.
|
◆ ELECTRONEUM_LMDB_CHECK
| #define ELECTRONEUM_LMDB_CHECK |
( |
| ... | ) |
|
Value:do \
{ \
const int err = __VA_ARGS__ ; \
if (err) \
} while (0)
error
Tracks LMDB error codes.
Executes a LMDB command, and returns errors via lmdb::error enum.
Definition at line 33 of file error.h.
33#define ELECTRONEUM_LMDB_CHECK(...) \
34 do \
35 { \
36 const int err = __VA_ARGS__ ; \
37 if (err) \
38 return {lmdb::error(err)}; \
39 } while (0)