Your IP : 3.15.26.231


Current Path : /opt/alt/python39/lib64/python3.9/email/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/email/__pycache__/errors.cpython-39.pyc

a

R�f��@s�dZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
ee�ZGdd�de�ZGd
d�de�Z	Gdd�de
�ZGdd�de�ZGdd�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�Zd5S)6z email package exception classes.c@seZdZdZdS)�MessageErrorz+Base class for errors in the email package.N��__name__�
__module__�__qualname__�__doc__�rr�1/opt/alt/python39/lib64/python3.9/email/errors.pyrsrc@seZdZdZdS)�MessageParseErrorz&Base class for message parsing errors.Nrrrrrr	sr	c@seZdZdZdS)�HeaderParseErrorzError while parsing headers.Nrrrrrr
sr
c@seZdZdZdS)�
BoundaryErrorz#Couldn't find terminating boundary.Nrrrrrrsrc@seZdZdZdS)�MultipartConversionErrorz(Conversion to a multipart is prohibited.Nrrrrrrsrc@seZdZdZdS)�CharsetErrorzAn illegal charset was given.Nrrrrrr
sr
c@seZdZdZdS)�HeaderWriteErrorzError while writing headers.Nrrrrrr srcs"eZdZdZd�fdd�	Z�ZS)�
MessageDefectz Base class for a message defect.Ncs|durt��|�||_dS�N)�super�__init__�line)�selfr��	__class__rrr(szMessageDefect.__init__)N�rrrrr�
__classcell__rrrrr%src@seZdZdZdS)�NoBoundaryInMultipartDefectzBA message claimed to be a multipart but had no boundary parameter.Nrrrrrr-src@seZdZdZdS)�StartBoundaryNotFoundDefectz+The claimed start boundary was never found.Nrrrrrr0src@seZdZdZdS)�CloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.Nrrrrrr3src@seZdZdZdS)�#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.Nrrrrrr6src@seZdZdZdS)�MisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.Nrrrrrr9src@seZdZdZdS)� MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.Nrrrrrr<src@seZdZdZdS)�!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.NrrrrrrAsrc@seZdZdZdS)�-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.Nrrrrrr Dsr c@seZdZdZdS)�UndecodableBytesDefectz0Header contained bytes that could not be decodedNrrrrrr!Gsr!c@seZdZdZdS)�InvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthNrrrrrr"Jsr"c@seZdZdZdS)�InvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetNrrrrrr#Msr#c@seZdZdZdS)�InvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)Nrrrrrr$Psr$cs eZdZdZ�fdd�Z�ZS)�HeaderDefectzBase class for a header defect.cst�j|i|��dSr)rr)r�args�kwrrrrXszHeaderDefect.__init__rrrrrr%Usr%c@seZdZdZdS)�InvalidHeaderDefectz+Header is not valid, message gives details.Nrrrrrr([sr(c@seZdZdZdS)�HeaderMissingRequiredValuez(A header that must have a value had noneNrrrrrr)^sr)cs(eZdZdZ�fdd�Zdd�Z�ZS)�NonPrintableDefectz8ASCII characters outside the ascii-printable range foundcst��|�||_dSr)rr�non_printables)rr+rrrrdszNonPrintableDefect.__init__cCsd�|j�S)Nz6the following ASCII non-printables found in header: {})�formatr+)rrrr�__str__hs�zNonPrintableDefect.__str__)rrrrrr-rrrrrr*asr*c@seZdZdZdS)�ObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322Nrrrrrr.lsr.c@seZdZdZdS)�NonASCIILocalPartDefectz(local_part contains non-ASCII charactersNrrrrrr/osr/N)r�	Exceptionrr	r
r�	TypeErrorrr
r�
ValueErrorrrrrrrrZMalformedHeaderDefectrr r!r"r#r$r%r(r)r*r.r/rrrr�<module>s6

?>