MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / JSONRPCException

Class JSONRPCException

test/functional/test_framework/authproxy.py:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48log = logging.getLogger("BitcoinRPC")
49
50class JSONRPCException(Exception):
51 def __init__(self, rpc_error):
52 try:
53 errmsg = '%(message)s (%(code)i)' % rpc_error
54 except (KeyError, TypeError):
55 errmsg = ''
56 super().__init__(errmsg)
57 self.error = rpc_error
58
59
60def EncodeDecimal(o):

Callers 3

__call__Method · 0.85
_get_responseMethod · 0.85
send_cliMethod · 0.85

Calls

no outgoing calls

Tested by 1

send_cliMethod · 0.68