chainlib

Generic blockchain access library and tooling
Log | Files | Refs | README | LICENSE

commit f66f93d8673cf0eab9838a250b8a74db2787072e
parent 9f537ff569a78610f1f60ea25505cbe221b3bbf2
Author: lash <dev@holbrook.no>
Date:   Sat, 14 May 2022 12:23:06 +0000

Add generic initializationerror

Diffstat:
Mchainlib/error.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/chainlib/error.py b/chainlib/error.py @@ -11,13 +11,18 @@ class JSONRPCException(RPCException): pass +class InitializationError(Exception): + """Base error for errors occurring while processing settings + """ + pass + class ExecutionError(Exception): """Base error for transaction execution failures """ pass -class SignerMissingException(Exception): +class SignerMissingException(InitializationError): """Raised when attempting to retrieve a signer when none has been added """