§
    Ètºfš  ã                   óÐ   — d Z ddlZddlmZmZmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ d	e¦  «        Z	ej
        d
ee         deg ef         ded         fd„¦   «         ZdS )z
HAProxy specific exceptions.
é    N)ÚCallableÚ	GeneratorÚTypec                   ó   — e Zd ZdZdS )ÚInvalidProxyHeaderz8
    The provided PROXY protocol header is invalid.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úd/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/twisted/protocols/haproxy/_exceptions.pyr   r      ó   € € € € € ðð ð ð r   r   c                   ó   — e Zd ZdZdS )ÚInvalidNetworkProtocolzC
    The network protocol was not one of TCP4 TCP6 or UNKNOWN.
    Nr   r   r   r   r   r      r   r   r   c                   ó   — e Zd ZdZdS )ÚMissingAddressDataz4
    The address data is missing or incomplete.
    Nr   r   r   r   r   r      r   r   r   Ú
sourceTypeÚ
targetTypeÚreturn)NNNc              #   ór   K  — 	 dV — dS # | $ r'} |¦   «                               |j        ¦  «        ‚d}~ww xY w)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   Úes      r   ÚconvertErrorr      sS   è è € ð;ØˆˆˆˆˆøØð ;ð ;ð ;Øˆj‰lŒl×)Ò)¨!¬/Ñ:Ô:Ð:øøøøð;øøøs   „
 Š6�"1±6)r   Ú
contextlibÚtypingr   r   r   Ú	Exceptionr   r   r   ÚcontextmanagerÚBaseExceptionr   r   r   r   ú<module>r"      s  ðð
ð ð Ð Ð Ð Ø ,Ð ,Ð ,Ð ,Ð ,Ð ,Ð ,Ð ,Ð ,Ð ,ðð ð ð ð ˜ñ ô ð ðð ð ð ð Ð/ñ ô ð ðð ð ð ð Ð+ñ ô ð ð Ôð;Ø�]Ô#ð;Ø19¸"¸mÐ:KÔ1Lð;àÐÔ ð;ð ;ð ;ñ Ôð;ð ;ð ;r   