Debian Codegraph @

geventwebsocket/exceptions.py

raw symbols SCIP
1 from socket import error as socket_error
2
3
4 class WebSocketError(socket_error):
5 """
6 Base class for all websocket errors.
7 """
8
9
10 class ProtocolError(WebSocketError):
11 """
12 Raised if an error occurs when de/encoding the websocket protocol.
13 """
14
15
16 class FrameTooLargeException(ProtocolError):
17 """
18 Raised if a frame is received that is too large.
19 """