mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 14:54:21 +01:00
Add bfxapi/websocket/errors.py script. Add __require_websocket_connection decorator inside BfxWebsocketClient class. Implement unsubscribe and clear methods.
This commit is contained in:
7
bfxapi/websocket/errors.py
Normal file
7
bfxapi/websocket/errors.py
Normal file
@@ -0,0 +1,7 @@
|
||||
class ConnectionNotOpen(Exception):
|
||||
"""
|
||||
This error indicates an attempt to communicate via websocket before starting the connection with the servers.
|
||||
|
||||
"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user