| 12 | using namespace cn; |
| 13 | |
| 14 | api::ErrorAddress::ErrorAddress(int c, const std::string &msg, const std::string &address) |
| 15 | : json_rpc::Error(c, msg + " address=" + address), address(address) {} |
| 16 | api::ErrorWrongHeight::ErrorWrongHeight(const std::string &msg, int64_t request_height, Height top_block_height) |
| 17 | : json_rpc::Error(INVALID_HEIGHT_OR_DEPTH, |
| 18 | msg + "=" + common::to_string(request_height) + " while top block height is " + |
nothing calls this directly
no outgoing calls
no test coverage detected