MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / JSONRPCError

Function JSONRPCError

src/rpcprotocol.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56UniValue JSONRPCError(int code, const string& message)
57{
58 UniValue error(UniValue::VOBJ);
59 error.push_back(Pair("code", code));
60 error.push_back(Pair("message", message));
61 return error;
62}

Callers 15

getblockhashFunction · 0.85
getblockheaderFunction · 0.85
getblockFunction · 0.85
invalidateblockFunction · 0.85
reconsiderblockFunction · 0.85
HTTPReq_JSONRPCFunction · 0.85
BOOST_FOREACHFunction · 0.85
AmountFromValueFunction · 0.85
ParseHashVFunction · 0.85
ParseHexVFunction · 0.85
parseMethod · 0.85
JSONRPCExecOneFunction · 0.85

Calls 2

PairFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected