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

Function check_exception2

src/test/test_common.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 bool check_exception1(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_RPC_JSON_PARSE_ERROR; }
24
25 bool check_exception2(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_SERVER_PROCEDURE_SPECIFICATION_SYNTAX; }
26} // namespace testcommon
27
28using namespace testcommon;

Callers

nothing calls this directly

Calls 1

GetCodeMethod · 0.80

Tested by

no test coverage detected