U e5d?ã@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ú$/usr/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 cs"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.Nrrrrrr,src@seZdZdZdS)ÚCloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.Nrrrrrr/src@seZdZdZdS)Ú#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.Nrrrrrr2src@seZdZdZdS)ÚMisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.Nrrrrrr5src@seZdZdZdS)Ú MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.Nrrrrrr8src@seZdZdZdS)Ú!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.Nrrrrrr=src@seZdZdZdS)Ú-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.Nrrrrrr@src@seZdZdZdS)ÚUndecodableBytesDefectz0Header contained bytes that could not be decodedNrrrrrr Csr c@seZdZdZdS)ÚInvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthNrrrrrr!Fsr!c@seZdZdZdS)ÚInvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetNrrrrrr"Isr"c@seZdZdZdS)ÚInvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)Nrrrrrr#Lsr#cs eZdZdZ‡fdd„Z‡ZS)Ú HeaderDefectzBase class for a header defect.cstƒj||ŽdSr)rr)rÚargsÚkwrrrrTszHeaderDefect.__init__rrrrrr$Qsr$c@seZdZdZdS)ÚInvalidHeaderDefectz+Header is not valid, message gives details.Nrrrrrr'Wsr'c@seZdZdZdS)ÚHeaderMissingRequiredValuez(A header that must have a value had noneNrrrrrr(Zsr(cs(eZdZdZ‡fdd„Zdd„Z‡ZS)ÚNonPrintableDefectz8ASCII characters outside the ascii-printable range foundcstƒ |¡||_dSr)rrÚnon_printables)rr*rrrr`s zNonPrintableDefect.__init__cCs d |j¡S)Nz6the following ASCII non-printables found in header: {})Úformatr*)rrrrÚ__str__dsÿzNonPrintableDefect.__str__)rrrrrr,rrrrrr)]s r)c@seZdZdZdS)ÚObsoleteHeaderDefectz0Header uses syntax declared obsolete by RFC 5322Nrrrrrr-hsr-c@seZdZdZdS)ÚNonASCIILocalPartDefectz(local_part contains non-ASCII charactersNrrrrrr.ksr.N)rÚ Exceptionrr r r Ú TypeErrorr r Ú ValueErrorrrrrrrrZMalformedHeaderDefectrrr r!r"r#r$r'r(r)r-r.rrrrÚs4