Delete HandlerNotFound exception (from bfxapi.websocket.exceptions).

This commit is contained in:
Davide Casale
2023-04-20 15:49:46 +02:00
parent 63ab433710
commit 03a03c6107
3 changed files with 0 additions and 15 deletions

View File

@@ -1,5 +1,3 @@
from ..exceptions import HandlerNotFound
from ...types import serializers
from ...types.serializers import _Notification
@@ -60,8 +58,6 @@ class AuthenticatedEventsHandler:
return self.event_emitter.emit(event, serializer.parse(*stream))
raise HandlerNotFound(f"No handler found for event of type <{abbrevation}>.")
def __notification(self, stream):
event, serializer = "notification", _Notification(serializer=None)