Add EventNotSupported exception in errors.py.

This commit is contained in:
Davide Casale
2022-11-16 19:01:52 +01:00
parent 41aa49d2bb
commit d58c60b02d
5 changed files with 46 additions and 4 deletions

View File

@@ -25,6 +25,13 @@ class InvalidAuthenticationCredentials(BfxWebsocketException):
pass
class EventNotSupported(BfxWebsocketException):
"""
This error indicates a failed attempt to subscribe to an event not supported by the BfxWebsocketClient.
"""
pass
class OutdatedClientVersion(BfxWebsocketException):
"""
This error indicates a mismatch between the client version and the server WSS version.