U iÛ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ú1/opt/alt/python38/lib64/python3.8/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.Nrrrrrr sr c@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|dk rtƒ |¡||_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||Ž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Ús6