Ë
    	š„j`  ã                   óN  — d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d„ de«      Z G d„ d	e«      Z	 G d
„ de	«      Z
 G d„ de	«      Z G d„ dee«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      ZeZ G d „ d!e«      Z G d"„ d#e«      Z G d$„ d%e«      Z G d&„ d'e«      Z G d(„ d)e«      Z G d*„ d+e«      Z G d,„ d-e«      Z G d.„ d/e«      Z G d0„ d1e«      Z  G d2„ d3e«      Z! G d4„ d5e«      Z"y6)7z email package exception classes.é    )Úunicode_literals)Údivision)Úabsolute_import)Úsuperc                   ó   — e Zd ZdZy)ÚMessageErrorz+Base class for errors in the email package.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úT/var/www/html/GAP/venv/lib/python3.12/site-packages/future/backports/email/errors.pyr   r      ó   „ Ú5r   r   c                   ó   — e Zd ZdZy)ÚMessageParseErrorz&Base class for message parsing errors.Nr	   r   r   r   r   r      s   „ Ú0r   r   c                   ó   — e Zd ZdZy)ÚHeaderParseErrorzError while parsing headers.Nr	   r   r   r   r   r      s   „ Ú&r   r   c                   ó   — e Zd ZdZy)ÚBoundaryErrorz#Couldn't find terminating boundary.Nr	   r   r   r   r   r      s   „ Ú-r   r   c                   ó   — e Zd ZdZy)ÚMultipartConversionErrorz(Conversion to a multipart is prohibited.Nr	   r   r   r   r   r      ó   „ Ú2r   r   c                   ó   — e Zd ZdZy)ÚCharsetErrorzAn illegal charset was given.Nr	   r   r   r   r   r       s   „ Ú'r   r   c                   ó$   ‡ — e Zd ZdZdˆ fd„	Zˆ xZS )ÚMessageDefectz Base class for a message defect.c                 óJ   •— |�t        «       j                  |«       || _        y ©N)r   Ú__init__Úline)Úselfr"   Ú	__class__s     €r   r!   zMessageDefect.__init__(   s    ø€ ØÐÜ‹G×Ñ˜TÔ"Øˆ�	r   r    ©r
   r   r   r   r!   Ú__classcell__©r$   s   @r   r   r   %   s   ø„ Ù*÷ñ r   r   c                   ó   — e Zd ZdZy)ÚNoBoundaryInMultipartDefectzBA message claimed to be a multipart but had no boundary parameter.Nr	   r   r   r   r)   r)   -   s   „ ÚLr   r)   c                   ó   — e Zd ZdZy)ÚStartBoundaryNotFoundDefectz+The claimed start boundary was never found.Nr	   r   r   r   r+   r+   0   r   r   r+   c                   ó   — e Zd ZdZy)ÚCloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.Nr	   r   r   r   r-   r-   3   ó   „ ÚOr   r-   c                   ó   — e Zd ZdZy)Ú#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.Nr	   r   r   r   r0   r0   6   s   „ ÚEr   r0   c                   ó   — e Zd ZdZy)ÚMisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.Nr	   r   r   r   r2   r2   9   ó   „ ÚIr   r2   c                   ó   — e Zd ZdZy)Ú MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.Nr	   r   r   r   r5   r5   <   r.   r   r5   c                   ó   — e Zd ZdZy)Ú!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.Nr	   r   r   r   r7   r7   A   r3   r   r7   c                   ó   — e Zd ZdZy)Ú-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.Nr	   r   r   r   r9   r9   D   r.   r   r9   c                   ó   — e Zd ZdZy)ÚUndecodableBytesDefectz0Header contained bytes that could not be decodedNr	   r   r   r   r;   r;   G   ó   „ Ú:r   r;   c                   ó   — e Zd ZdZy)ÚInvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthNr	   r   r   r   r>   r>   J   s   „ Ú9r   r>   c                   ó   — e Zd ZdZy)ÚInvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetNr	   r   r   r   r@   r@   M   s   „ ÚGr   r@   c                   ó"   ‡ — e Zd ZdZˆ fd„Zˆ xZS )ÚHeaderDefectzBase class for a header defect.c                 ó:   •—  t        «       j                  |i |¤Ž y r    )r   r!   )r#   ÚargsÚkwr$   s      €r   r!   zHeaderDefect.__init__U   s   ø€ ØŒ‹×Ñ˜$Ð% "Ó%r   r%   r'   s   @r   rB   rB   R   s   ø„ Ù)÷&ð &r   rB   c                   ó   — e Zd ZdZy)ÚInvalidHeaderDefectz+Header is not valid, message gives details.Nr	   r   r   r   rG   rG   X   r   r   rG   c                   ó   — e Zd ZdZy)ÚHeaderMissingRequiredValuez(A header that must have a value had noneNr	   r   r   r   rI   rI   [   r   r   rI   c                   ó(   ‡ — e Zd ZdZˆ fd„Zd„ Zˆ xZS )ÚNonPrintableDefectz8ASCII characters outside the ascii-printable range foundc                 óF   •— t        «       j                  |«       || _        y r    )r   r!   Únon_printables)r#   rM   r$   s     €r   r!   zNonPrintableDefect.__init__a   s   ø€ Ü‹×Ñ˜Ô(Ø,ˆÕr   c                 ó8   — dj                  | j                  «      S )Nz6the following ASCII non-printables found in header: {})ÚformatrM   )r#   s    r   Ú__str__zNonPrintableDefect.__str__e   s   € ðß‘˜×+Ñ+Ó,ð	.r   )r
   r   r   r   r!   rP   r&   r'   s   @r   rK   rK   ^   s   ø„ ÙBô-ö.r   rK   c                   ó   — e Zd ZdZy)ÚObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322Nr	   r   r   r   rR   rR   i   r<   r   rR   c                   ó   — e Zd ZdZy)ÚNonASCIILocalPartDefectz(local_part contains non-ASCII charactersNr	   r   r   r   rT   rT   l   r   r   rT   N)#r   Ú
__future__r   r   r   Úfuture.builtinsr   Ú	Exceptionr   r   r   r   Ú	TypeErrorr   r   Ú
ValueErrorr   r)   r+   r-   r0   r2   r5   ÚMalformedHeaderDefectr7   r9   r;   r>   r@   rB   rG   rI   rK   rR   rT   r   r   r   ú<module>r[      sR  ðñ
 'Ý 'Ý Ý &Ý !ô6�9ô 6ô1˜ô 1ô'Ð(ô 'ô.Ð%ô .ô3˜|¨Yô 3ô(�<ô (ô
�Jô ôM -ô Mô6 -ô 6ôP -ô PôF¨-ô FôJ Mô JôP }ô Pð 9Ð ôJ¨ô JôP°Mô Pô;˜]ô ;ô: ô :ôH Mô Hô
&�=ô &ô6˜,ô 6ô3 ô 3ô	.˜ô 	.ô;˜<ô ;ô3˜lõ 3r   