2021-04-04 14:55:27 +02:00
|
|
|
# TODO: use json-rpc module
|
2021-08-21 09:31:59 +02:00
|
|
|
class RPCException(Exception):
|
|
|
|
"""Base RPC connection error
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class JSONRPCException(RPCException):
|
|
|
|
"""Base JSON-RPC error
|
|
|
|
"""
|
2021-04-04 14:55:27 +02:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class ExecutionError(Exception):
|
2021-08-21 09:31:59 +02:00
|
|
|
"""Base error for transaction execution failures
|
|
|
|
"""
|
2021-04-04 14:55:27 +02:00
|
|
|
pass
|
2021-08-21 09:31:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
class SignerMissingException(Exception):
|
|
|
|
"""Raised when attempting to retrieve a signer when none has been added
|
|
|
|
"""
|