https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/protocols/haproxy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/protocols/haproxy/__pycache__/_exceptions.cpython-310.pyc
o

�b��@s�dZddlZddlmZmZmZGdd�de�ZGdd�de�ZGdd	�d	e�Z	ej
d
eedegefded
fdd��ZdS)z
HAProxy specific exceptions.
�N)�Callable�	Generator�Typec@�eZdZdZdS)�InvalidProxyHeaderz8
    The provided PROXY protocol header is invalid.
    N��__name__�
__module__�__qualname__�__doc__�rr�G/usr/lib/python3/dist-packages/twisted/protocols/haproxy/_exceptions.pyr
�rc@r)�InvalidNetworkProtocolzC
    The network protocol was not one of TCP4 TCP6 or UNKNOWN.
    Nrrrrr
rrrc@r)�MissingAddressDataz4
    The address data is missing or incomplete.
    Nrrrrr
rrr�
sourceType�
targetType�return)NNNc
cs6�zdVWdS|y}z|��|j��d}~ww)aA
    Convert an error into a different error type.

    @param sourceType: The type of exception that should be caught and
        converted.
    @type sourceType: L{BaseException}

    @param targetType: The type of exception to which the original should be
        converted.
    @type targetType: L{BaseException}
    N)�with_traceback�
__traceback__)rr�errr
�convertErrors���r)
r�
contextlib�typingrrr�	Exceptionrrr�contextmanager�
BaseExceptionrrrrr
�<module>s�
��

https://t.me/RX1948 - 2025