MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / RPCError

Class RPCError

src/namecoin.py:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40# Error thrown when the RPC call returns an error.
41class RPCError (Exception):
42 error = None
43
44 def __init__ (self, data):
45 self.error = data
46
47 def __str__(self):
48 return '{0}: {1}'.format(type(self).__name__, self.error)
49
50# This class handles the Namecoin identity integration.
51class namecoinConnection (object):

Callers 1

callRPCMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected