Viewing File: /usr/lib64/python3.6/email/__pycache__/errors.cpython-36.pyc

3

้žsjูใ@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
ƒZeZGdd„de
ƒZGdd„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๚/usr/lib64/python3.6/errors.pyrsrc@seZdZdZdS)ฺMessageParseErrorz&Base class for message parsing errors.N)rrrrrrrrrsrc@seZdZdZdS)ฺHeaderParseErrorzError while parsing headers.N)rrrrrrrrr	sr	c@seZdZdZdS)ฺ
BoundaryErrorz#Couldn't find terminating boundary.N)rrrrrrrrr
sr
c@seZdZdZdS)ฺMultipartConversionErrorz(Conversion to a multipart is prohibited.N)rrrrrrrrrsrc@seZdZdZdS)ฺCharsetErrorzAn illegal charset was given.N)rrrrrrrrrsrcs"eZdZdZd‡fdd„	Z‡ZS)ฺ
MessageDefectz Base class for a message defect.Ncs|dk	rtƒj|ƒ||_dS)N)ฺsuperฺ__init__ฺline)ฺselfr)ฺ	__class__rrr$szMessageDefect.__init__)N)rrrrrฺ
__classcell__rr)rrr
!sr
c@seZdZdZdS)ฺNoBoundaryInMultipartDefectzBA message claimed to be a multipart but had no boundary parameter.N)rrrrrrrrr)src@seZdZdZdS)ฺStartBoundaryNotFoundDefectz+The claimed start boundary was never found.N)rrrrrrrrr,src@seZdZdZdS)ฺCloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.N)rrrrrrrrr/src@seZdZdZdS)ฺ#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.N)rrrrrrrrr2src@seZdZdZdS)ฺMisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.N)rrrrrrrrr5src@seZdZdZdS)ฺ MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.N)rrrrrrrrr8src@seZdZdZdS)ฺ!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.N)rrrrrrrrr=src@seZdZdZdS)ฺ-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.N)rrrrrrrrr@src@seZdZdZdS)ฺUndecodableBytesDefectz0Header contained bytes that could not be decodedN)rrrrrrrrrCsrc@seZdZdZdS)ฺInvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthN)rrrrrrrrrFsrc@seZdZdZdS)ฺInvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetN)rrrrrrrrrIsrc@seZdZdZdS)ฺInvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)N)rrrrrrrrrLsrcs eZdZdZ‡fdd„Z‡ZS)ฺHeaderDefectzBase class for a header defect.cstƒj||ŽdS)N)rr)rฺargsฺkw)rrrrTszHeaderDefect.__init__)rrrrrrrr)rrr Qsr c@seZdZdZdS)ฺInvalidHeaderDefectz+Header is not valid, message gives details.N)rrrrrrrrr#Wsr#c@seZdZdZdS)ฺHeaderMissingRequiredValuez(A header that must have a value had noneN)rrrrrrrrr$Zsr$cs(eZdZdZ‡fdd„Zdd„Z‡ZS)ฺNonPrintableDefectz8ASCII characters outside the ascii-printable range foundcstƒj|ƒ||_dS)N)rrฺnon_printables)rr&)rrrr`szNonPrintableDefect.__init__cCsdj|jƒS)Nz6the following ASCII non-printables found in header: {})ฺformatr&)rrrrฺ__str__dszNonPrintableDefect.__str__)rrrrrr(rrr)rrr%]sr%c@seZdZdZdS)ฺObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322N)rrrrrrrrr)hsr)c@seZdZdZdS)ฺNonASCIILocalPartDefectz(local_part contains non-ASCII charactersN)rrrrrrrrr*ksr*c@seZdZdZdS)ฺHeaderWriteErrorzDError raised when a header cannot be written due to being malformed.N)rrrrrrrrr+rsr+N)rฺ	Exceptionrrr	r
ฺ	TypeErrorrrฺ
ValueErrorr
rrrrrrZMalformedHeaderDefectrrrrrrr r#r$r%r)r*r+rrrrฺ<module>s6
Back to Directory File Manager