usr/lib64/python3.6/email/__pycache__/errors.cpython-36.pyc000064400000014316147205014440017314 0ustar003 ä¤ò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 ƒ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ú$/usr/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 c@seZdZdZdS)ÚHeaderWriteErrorzError while writing headers.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%src@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)rrrrrrrrr0src@seZdZdZdS)ÚCloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.N)rrrrrrrrr3src@seZdZdZdS)Ú#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.N)rrrrrrrrr6src@seZdZdZdS)ÚMisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.N)rrrrrrrrr9src@seZdZdZdS)Ú MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.N)rrrrrrrrr<src@seZdZdZdS)Ú!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.N)rrrrrrrrrAsrc@seZdZdZdS)Ú-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.N)rrrrrrrrrDsrc@seZdZdZdS)ÚUndecodableBytesDefectz0Header contained bytes that could not be decodedN)rrrrrrrrrGsrc@seZdZdZdS)ÚInvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthN)rrrrrrrrrJsrc@seZdZdZdS)ÚInvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetN)rrrrrrrrrMsrc@seZdZdZdS)ÚInvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)N)rrrrrrrrr Psr cs eZdZdZ‡fdd„Z‡ZS)Ú HeaderDefectzBase class for a header defect.cstƒj||ŽdS)N)rr)rÚargsÚkw)rrrrXszHeaderDefect.__init__)rrrrrrrr)rrr!Usr!c@seZdZdZdS)ÚInvalidHeaderDefectz+Header is not valid, message gives details.N)rrrrrrrrr$[sr$c@seZdZdZdS)ÚHeaderMissingRequiredValuez(A header that must have a value had noneN)rrrrrrrrr%^sr%cs(eZdZdZ‡fdd„Zdd„Z‡ZS)ÚNonPrintableDefectz8ASCII characters outside the ascii-printable range foundcstƒj|ƒ||_dS)N)rrÚnon_printables)rr')rrrrds zNonPrintableDefect.__init__cCs dj|jƒS)Nz6the following ASCII non-printables found in header: {})Úformatr')rrrrÚ__str__hszNonPrintableDefect.__str__)rrrrrr)rrr)rrr&as r&c@seZdZdZdS)ÚObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322N)rrrrrrrrr*lsr*c@seZdZdZdS)ÚNonASCIILocalPartDefectz(local_part contains non-ASCII charactersN)rrrrrrrrr+osr+N)rÚ Exceptionrrr r Ú TypeErrorr r r Ú ValueErrorrrrrrrrZMalformedHeaderDefectrrrrrr r!r$r%r&r*r+rrrrÚs6