#include <pinnable_mapped_file.hpp>
|
const char * | name () const noexcept override |
|
std::string | message (int ev) const override |
|
Definition at line 34 of file pinnable_mapped_file.hpp.
◆ message()
std::string chainbase::chainbase_error_category::message |
( |
int | ev | ) |
const |
|
override |
Definition at line 19 of file pinnable_mapped_file.cpp.
19 {
20 switch(ev) {
22 return "Ok";
24 return "Database dirty flag set";
26 return "Database incompatible; All environment parameters must match";
28 return "Database format not compatible with this version of chainbase";
30 return "Database file not found";
32 return "Bad size";
34 return "Heap and locked mode are not supported on win32";
36 return "Failed to read DB header";
38 return "Could not gain write access to the shared memory file";
40 return "Database load aborted";
42 return "Failed to mlock database";
43 default:
44 return "Unrecognized error code";
45 }
46}
◆ name()
const char * chainbase::chainbase_error_category::name |
( |
| ) |
const |
|
overridenoexcept |
The documentation for this class was generated from the following files: