ó
    Ö›‘hš  ã                   ó°   • S r SSKrSSKJrJrJr   " S S\5      r " S S\5      r " S S	\5      r	\R                  S
\\   S\/ \4   S\S   4S j5       rg)z
HAProxy specific exceptions.
é    N)ÚCallableÚ	GeneratorÚTypec                   ó   • \ rS rSrSrSrg)ÚInvalidProxyHeaderé   z0
The provided PROXY protocol header is invalid.
© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r	   ó    ÚiC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/protocols/haproxy/_exceptions.pyr   r      ó   † ôr   r   c                   ó   • \ rS rSrSrSrg)ÚInvalidNetworkProtocolé   z;
The network protocol was not one of TCP4 TCP6 or UNKNOWN.
r	   Nr
   r	   r   r   r   r      r   r   r   c                   ó   • \ rS rSrSrSrg)ÚMissingAddressDataé   z,
The address data is missing or incomplete.
r	   Nr
   r	   r   r   r   r      r   r   r   Ú
sourceTypeÚ
targetTypeÚreturn)NNNc              #   ór   #   •  Sv •  g! U  a%  nU" 5       R                  UR                  5      eSnAff = f7f)a!  
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!      s3   é € ð;ÜøØó ;Ù‹l×)Ñ)¨!¯/©/Ó:Ð:ûð;üs   ‚7„	 ˆ7‰4� /¯4´7)r   Ú
contextlibÚtypingr   r   r   Ú	Exceptionr   r   r   ÚcontextmanagerÚBaseExceptionr!   r	   r   r   Ú<module>r'      s‚   ðñ
ó ß ,Ñ ,ô˜ô ôÐ/ô ôÐ+ô ð ×Ñð;Ø�]Ñ#ð;Ø19¸"¸mÐ:KÑ1Lð;àÐÑ ó;ó ñ;r   