Skip to content

Commit e4c55c9

Browse files
authored
Merge pull request #91 from opentensor/feat/thewhaleking/expose-websockets-exceptions
Expose websockets exceptions
2 parents fb14c02 + 6c53143 commit e4c55c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

async_substrate_interface/errors.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
from websockets.exceptions import ConnectionClosed, InvalidHandshake
2+
3+
ConnectionClosed = ConnectionClosed
4+
InvalidHandshake = InvalidHandshake
5+
6+
17
class SubstrateRequestException(Exception):
28
pass
39

0 commit comments

Comments
 (0)