MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / check_exception2

Function check_exception2

src/test/test_connector_http.cpp:51–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 bool check_exception1(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_CLIENT_CONNECTOR; }
50
51 bool check_exception2(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_RPC_INTERNAL_ERROR; }
52} // namespace testhttpserver
53using namespace testhttpserver;
54

Callers

nothing calls this directly

Calls 1

GetCodeMethod · 0.80

Tested by

no test coverage detected