Your IP : 3.148.105.127


Current Path : /opt/alt/python312/lib64/python3.12/email/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/email/__pycache__/errors.cpython-312.opt-1.pyc

�

�Q�f���`�dZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd	�d
ee�ZGd�de�ZGd
�de�Z	Gd�de
�ZGd�de�ZGd�de�Z
Gd�de�ZGd�de�ZGd�de�ZGd�de�ZeZGd�de�ZGd�d e�ZGd!�d"e�ZGd#�d$e�ZGd%�d&e�ZGd'�d(e�ZGd)�d*e�ZGd+�d,e�ZGd-�d.e�ZGd/�d0e�ZGd1�d2e�ZGd3�d4e�ZGd5�d6e�Zy7)8z email package exception classes.c��eZdZdZy)�MessageErrorz+Base class for errors in the email package.N��__name__�
__module__�__qualname__�__doc__���3/opt/alt/python312/lib64/python3.12/email/errors.pyrr���5r
rc��eZdZdZy)�MessageParseErrorz&Base class for message parsing errors.Nrr	r
rrrs��0r
rc��eZdZdZy)�HeaderParseErrorzError while parsing headers.Nrr	r
rrr���&r
rc��eZdZdZy)�
BoundaryErrorz#Couldn't find terminating boundary.Nrr	r
rrrs��-r
rc��eZdZdZy)�MultipartConversionErrorz(Conversion to a multipart is prohibited.Nrr	r
rrr���2r
rc��eZdZdZy)�CharsetErrorzAn illegal charset was given.Nrr	r
rrrs��'r
rc��eZdZdZy)�HeaderWriteErrorzError while writing headers.Nrr	r
rrr rr
rc�$��eZdZdZd�fd�	Z�xZS)�
MessageDefectz Base class for a message defect.c�6��|�t�|�|�||_y�N)�super�__init__�line)�selfr!�	__class__s  �rr zMessageDefect.__init__(s������G��T�"���	r
r�rrrrr �
__classcell__�r#s@rrr%s���*��r
rc��eZdZdZy)�NoBoundaryInMultipartDefectzBA message claimed to be a multipart but had no boundary parameter.Nrr	r
rr(r(-s��Lr
r(c��eZdZdZy)�StartBoundaryNotFoundDefectz+The claimed start boundary was never found.Nrr	r
rr*r*0rr
r*c��eZdZdZy)�CloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.Nrr	r
rr,r,3���Or
r,c��eZdZdZy)�#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.Nrr	r
rr/r/6s��Er
r/c��eZdZdZy)�MisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.Nrr	r
rr1r19���Ir
r1c��eZdZdZy)� MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.Nrr	r
rr4r4<r-r
r4c��eZdZdZy)�!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.Nrr	r
rr6r6Ar2r
r6c��eZdZdZy)�-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.Nrr	r
rr8r8Dr-r
r8c��eZdZdZy)�UndecodableBytesDefectz0Header contained bytes that could not be decodedNrr	r
rr:r:G���:r
r:c��eZdZdZy)�InvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthNrr	r
rr=r=Js��9r
r=c��eZdZdZy)�InvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetNrr	r
rr?r?Ms��Gr
r?c��eZdZdZy)�InvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)Nrr	r
rrArAPs��>r
rAc�"��eZdZdZ�fd�Z�xZS)�HeaderDefectzBase class for a header defect.c�$��t�|�|i|��yr)rr )r"�args�kwr#s   �rr zHeaderDefect.__init__Xs���
���$�%�"�%r
r$r&s@rrCrCUs���)�&�&r
rCc��eZdZdZy)�InvalidHeaderDefectz+Header is not valid, message gives details.Nrr	r
rrHrH[rr
rHc��eZdZdZy)�HeaderMissingRequiredValuez(A header that must have a value had noneNrr	r
rrJrJ^rr
rJc�(��eZdZdZ�fd�Zd�Z�xZS)�NonPrintableDefectz8ASCII characters outside the ascii-printable range foundc�2��t�|�|�||_yr)rr �non_printables)r"rNr#s  �rr zNonPrintableDefect.__init__ds���
����(�,��r
c�8�dj|j�S)Nz6the following ASCII non-printables found in header: {})�formatrN)r"s r�__str__zNonPrintableDefect.__str__hs������+�+�,�	.r
)rrrrr rQr%r&s@rrLrLas���B�-�.r
rLc��eZdZdZy)�ObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322Nrr	r
rrSrSlr;r
rSc��eZdZdZy)�NonASCIILocalPartDefectz(local_part contains non-ASCII charactersNrr	r
rrUrUorr
rUc��eZdZdZy)�InvalidDateDefectz%Header has unparsable or invalid dateNrr	r
rrWrWts��/r
rWN) r�	Exceptionrrrr�	TypeErrorrrr�
ValueErrorrr(r*r,r/r1r4�MalformedHeaderDefectr6r8r:r=r?rArCrHrJrLrSrUrWr	r
r�<module>r\sj��
'�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�3�
0��0r

?>