Your IP : 3.133.100.195
o
S�g��@s�dZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd d
�d
ee�ZGdd�de�ZGd
d�de�Z Gdd�de
�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZeZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZGd%d&�d&e�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�ZGd-d.�d.e�ZGd/d0�d0e�ZGd1d2�d2e�ZGd3d4�d4e�ZGd5d6�d6e�Zd7S)8z email package exception classes.c@�eZdZdZdS)�MessageErrorz+Base class for errors in the email package.N��__name__�
__module__�__qualname__�__doc__�rr�3/opt/alt/python310/lib64/python3.10/email/errors.pyr�rc@r)�MessageParseErrorz&Base class for message parsing errors.Nrrrrr rr
rc@r)�HeaderParseErrorzError while parsing headers.Nrrrrr rr
rc@r)�
BoundaryErrorz#Couldn't find terminating boundary.Nrrrrr r
r
r
c@r)�MultipartConversionErrorz(Conversion to a multipart is prohibited.Nrrrrr rr
rc@r)�CharsetErrorzAn illegal charset was given.Nrrrrr rr
rc@r)�HeaderWriteErrorzError while writing headers.Nrrrrr r r
rcs"eZdZdZd�fdd� Z�ZS)�
MessageDefectz Base class for a message defect.Ncs|dur
t��|�||_dS�N)�super�__init__�line)�selfr�� __class__rr r(s
zMessageDefect.__init__r�rrrrr�
__classcell__rrrr r%src@r)�NoBoundaryInMultipartDefectzBA message claimed to be a multipart but had no boundary parameter.Nrrrrr r-r
rc@r)�StartBoundaryNotFoundDefectz+The claimed start boundary was never found.Nrrrrr r0r
rc@r)�CloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.Nrrrrr r3r
rc@r)�#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.Nrrrrr r6r
rc@r)�MisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.Nrrrrr r9r
rc@r)� MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.Nrrrrr r <r
r c@r)�!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.Nrrrrr r!Ar
r!c@r)�-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.Nrrrrr r"Dr
r"c@r)�UndecodableBytesDefectz0Header contained bytes that could not be decodedNrrrrr r#Gr
r#c@r)�InvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthNrrrrr r$Jr
r$c@r)�InvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetNrrrrr r%Mr
r%c@r)�InvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)Nrrrrr r&Pr
r&cs eZdZdZ�fdd�Z�ZS)�HeaderDefectzBase class for a header defect.cst�j|i|��dSr)rr)r�args�kwrrr rXszHeaderDefect.__init__rrrrr r'Usr'c@r)�InvalidHeaderDefectz+Header is not valid, message gives details.Nrrrrr r*[r
r*c@r)�HeaderMissingRequiredValuez(A header that must have a value had noneNrrrrr r+^r
r+cs(eZdZdZ�fdd�Zdd�Z�ZS)�NonPrintableDefectz8ASCII characters outside the ascii-printable range foundcst��|�||_dSr)rr�non_printables)rr-rrr rds
zNonPrintableDefect.__init__cCsd�|j�S)Nz6the following ASCII non-printables found in header: {})�formatr-)rrrr �__str__hs�zNonPrintableDefect.__str__)rrrrrr/rrrrr r,asr,c@r)�ObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322Nrrrrr r0lr
r0c@r)�NonASCIILocalPartDefectz(local_part contains non-ASCII charactersNrrrrr r1or
r1c@r)�InvalidDateDefectz%Header has unparsable or invalid dateNrrrrr r2tr
r2N) r� Exceptionrrrr
� TypeErrorrrr�
ValueErrorrrrrrrr ZMalformedHeaderDefectr!r"r#r$r%r&r'r*r+r,r0r1r2rrrr �<module>s:
?>