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

Function JSONRPCError

src/rpc/core/rpcprotocol.cpp:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241Object JSONRPCError(int code, const string& message) {
242 Object error;
243 error.push_back(Pair("code", code));
244 error.push_back(Pair("message", message));
245 return error;
246}
247

Callers 15

CIpo_tests.cppFile · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
EnsureWalletIsUnlockedFunction · 0.85
addmulsigaddrFunction · 0.85
createmulsigFunction · 0.85
signmessageFunction · 0.85
submitsendtxFunction · 0.85
submitsendmultitxFunction · 0.85
getcontractassetsFunction · 0.85
backupwalletFunction · 0.85
walletpassphraseFunction · 0.85
walletpassphrasechangeFunction · 0.85

Calls 2

PairClass · 0.85
push_backMethod · 0.80

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.68