diff --git a/async_substrate_interface/errors.py b/async_substrate_interface/errors.py index 7f619ad..9de753b 100644 --- a/async_substrate_interface/errors.py +++ b/async_substrate_interface/errors.py @@ -1,3 +1,9 @@ +from websockets.exceptions import ConnectionClosed, InvalidHandshake + +ConnectionClosed = ConnectionClosed +InvalidHandshake = InvalidHandshake + + class SubstrateRequestException(Exception): pass