• File: errors.cpython-36.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/proc/self/root/lib64/python3.6/email/__pycache__/errors.cpython-36.pyc
  • Date Modified: 11/20/2026 11:26 PM
  • File size: 6.2 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
3

k@sdZGdddeZGdddeZGdddeZGdddeZGd	d
d
eeZGdddeZGd
ddeZ	Gddde
ZGdddeZGdddeZ
GdddeZGdddeZGdddeZGdddeZeZGdddeZGdd d eZGd!d"d"eZGd#d$d$eZGd%d&d&eZGd'd(d(eZGd)d*d*eZGd+d,d,eZGd-d.d.eZGd/d0d0eZGd1d2d2eZGd3d4d4eZd5S)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c@seZdZdZdS)HeaderWriteErrorzError while writing headers.N)rrrrrrrrr
 sr
cs"eZdZdZdfdd	ZZS)
MessageDefectz Base class for a message defect.Ncs|dk	rtj|||_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 eZdZdZfddZZS)HeaderDefectzBase class for a header defect.cstj||dS)N)rr)rargskw)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(eZdZdZfddZddZZS)NonPrintableDefectz8ASCII characters outside the ascii-printable range foundcstj|||_dS)N)rrnon_printables)rr')rrrrdszNonPrintableDefect.__init__cCsdj|jS)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
	TypeErrorrrr

ValueErrorrrrrrrrZMalformedHeaderDefectrrrrrr r!r$r%r&r*r+rrrr<module>s6