2020-12-25 09:21:09 +01:00
|
|
|
class UnknownAccountError(Exception):
|
|
|
|
pass
|
2021-01-09 22:05:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
class TransactionRevertError(Exception):
|
|
|
|
pass
|
2021-01-27 13:33:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
class NetworkError(Exception):
|
|
|
|
pass
|
2021-09-06 21:34:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
class SignerError(Exception):
|
|
|
|
|
|
|
|
def __init__(self, s):
|
|
|
|
super(SignerError, self).__init__(s)
|
|
|
|
self.jsonrpc_error = s
|
|
|
|
|
|
|
|
|
|
|
|
def to_jsonrpc(self):
|
|
|
|
return self.jsonrpc_error
|
|
|
|
|
|
|
|
|
|
|
|
|