MCPcopy Create free account
hub / github.com/bcndev/bytecoin / Error

Method Error

src/http/JsonRpc.cpp:9–9  ·  view source on GitHub ↗

throw it directly, without error_code or other complications

Source from the content-addressed store, hash-verified

7
8// throw it directly, without error_code or other complications
9Error::Error() : code(0) {}
10
11Error::Error(int c) : code(c), message(get_message(c)) {}
12std::string Error::get_message(int code) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected