3 ¦ f?γ@sždZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGd d „d eeƒZGd d „d eƒZGd d„de ƒZ Gdd„de ƒZ Gdd„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ƒZd3S)4z email package exception classes.c@seZdZdZdS)Ϊ MessageErrorz+Base class for errors in the email package.N)Ϊ__name__Ϊ __module__Ϊ __qualname__Ϊ__doc__©rrϊ1/opt/alt/python36/lib64/python3.6/email/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)rrrrrrrrr sr c@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*N)rΪ Exceptionrrr r Ϊ TypeErrorr r Ϊ ValueErrorr rrrrrrZMalformedHeaderDefectrrrrrrr r#r$r%r)r*rrrrΪs4