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

Function check_exception3

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

Source from the content-addressed store, hash-verified

23 bool check_exception2(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_CLIENT_INVALID_RESPONSE; }
24
25 bool check_exception3(JsonRpcException const &ex) { return ex.GetCode() == Errors::ERROR_RPC_INVALID_REQUEST && ex.GetData().size() == 2; }
26
27 struct F {
28 MockClientConnector c;

Callers

nothing calls this directly

Calls 2

GetCodeMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected