HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/websocket/__pycache__/_exceptions.cpython-310.pyc
o

���a^�@s�dZ	Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�Z	dS)z
Define WebSocket exceptions
c@�eZdZdZdS)�WebSocketExceptionz$
    WebSocket exception class.
    N��__name__�
__module__�__qualname__�__doc__�rr�7/usr/lib/python3/dist-packages/websocket/_exceptions.pyr�rc@r)�WebSocketProtocolExceptionzN
    If the WebSocket protocol is invalid, this exception will be raised.
    Nrrrrr	r r
rc@r)�WebSocketPayloadExceptionzM
    If the WebSocket payload is invalid, this exception will be raised.
    Nrrrrr	r'r
rc@r)�"WebSocketConnectionClosedExceptionzq
    If remote host closed the connection or some network error happened,
    this exception will be raised.
    Nrrrrr	r
.sr
c@r)�WebSocketTimeoutExceptionz\
    WebSocketTimeoutException will be raised at socket timeout during read/write data.
    Nrrrrr	r6r
rc@r)�WebSocketProxyExceptionzK
    WebSocketProxyException will be raised when proxy error occurred.
    Nrrrrr	r=r
rcs"eZdZdZd�fdd�	Z�ZS)�WebSocketBadStatusExceptionz[
    WebSocketBadStatusException will be raised when we get bad handshake status code.
    Ncs(|||f}t��|�||_||_dS)N)�super�__init__�status_code�resp_headers)�self�messager�status_messager�msg��	__class__rr	rIs
z$WebSocketBadStatusException.__init__)NN)rrrrr�
__classcell__rrrr	rDsrc@r)�WebSocketAddressExceptionzW
    If the websocket address info cannot be found, this exception will be raised.
    Nrrrrr	rPr
rN)
r�	Exceptionrrrr
rrrrrrrr	�<module>s