| 19 | |
| 20 | namespace testclient { |
| 21 | bool check_exception1(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_RPC_JSON_PARSE_ERROR; } |
| 22 | |
| 23 | bool check_exception2(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_CLIENT_INVALID_RESPONSE; } |
| 24 |