HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib/python3.10/site-packages/websocket/__pycache__/_exceptions.cpython-310.pyc
o

�h��@s�dZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�Z	dS)ae
_exceptions.py
websocket - WebSocket client library for Python

Copyright 2024 engn33r

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
c@�eZdZdZdS)�WebSocketExceptionz$
    WebSocket exception class.
    N��__name__�
__module__�__qualname__�__doc__�rr�H/usr/local/CyberCP/lib/python3.10/site-packages/websocket/_exceptions.pyr�rc@r)�WebSocketProtocolExceptionzN
    If the WebSocket protocol is invalid, this exception will be raised.
    Nrrrrr	rr
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
rcs2eZdZdZ			ddedef�fdd�
Z�ZS)�WebSocketBadStatusExceptionz[
    WebSocketBadStatusException will be raised when we get bad handshake status code.
    N�message�status_codecs"t��|�||_||_||_dS)N)�super�__init__r�resp_headers�	resp_body)�selfrr�status_messagerr��	__class__rr	rKs
z$WebSocketBadStatusException.__init__)NNN)rrrr�str�intr�
__classcell__rrrr	rFs���rc@r)�WebSocketAddressExceptionzW
    If the websocket address info cannot be found, this exception will be raised.
    Nrrrrr	rYr
rN)
r�	Exceptionrrrr
rrrrrrrr	�<module>s