Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/protocols/haproxy/__pycache__/ |
Upload File : |
o �b� � @ s� d Z ddlZddlmZmZmZ G dd� de�ZG dd� de�ZG dd � d e�Z ej d ee deg ef ded fdd��ZdS )z HAProxy specific exceptions. � N)�Callable� Generator�Typec @ � e Zd ZdZdS )�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 � r c @ r )�InvalidNetworkProtocolzC The network protocol was not one of TCP4 TCP6 or UNKNOWN. Nr r r r r r r r c @ r )�MissingAddressDataz4 The address data is missing or incomplete. Nr r r r r r r r � sourceType� targetType�return)NNNc c s6 � zdV W dS | 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__)r r �er r r �convertError s ���r ) r � contextlib�typingr r r � Exceptionr r r �contextmanager� BaseExceptionr r r r r �<module> s � ��