/snap/core18/2979/usr/lib/python3.6/email/__pycache__
Edit: /snap/core18/2979/usr/lib/python3.6/email/__pycache__/errors.cpython-36.pyc (6169B)
3
Nqi? γ @ s d Z G dd deZG dd deZG dd deZG dd deZG d d
d
eeZG dd deZG d
d de Z
G dd de
ZG dd de
ZG dd de
Z
G dd de
ZG dd de
ZG dd de
ZeZG dd de
ZG dd de
ZG dd d e
ZG d!d" d"e
ZG d#d$ d$e
ZG d%d& d&e
ZG d'd( d(e
ZG d)d* d*eZG d+d, d,eZG d-d. d.eZG d/d0 d0eZG d1d2 d2eZd3S )4z email package exception classes.c @ s e Zd ZdZdS )ΪMessageErrorz+Base class for errors in the email package.N)Ϊ__name__Ϊ
__module__Ϊ__qualname__Ϊ__doc__© r r ϊ"/usr/lib/python3.6/email/errors.pyr s r c @ s e Zd ZdZdS )ΪMessageParseErrorz&Base class for message parsing errors.N)r r r r r r r r r s r c @ s e Zd ZdZdS )ΪHeaderParseErrorzError while parsing headers.N)r r r r r r r r r s r c @ s e Zd ZdZdS )Ϊ
BoundaryErrorz#Couldn't find terminating boundary.N)r r r r r r r r r
s r
c @ s e Zd ZdZdS )ΪMultipartConversionErrorz(Conversion to a multipart is prohibited.N)r r r r r r r r r s r c @ s e Zd ZdZdS )ΪCharsetErrorzAn illegal charset was given.N)r r r r r r r r r s r c s" e Zd ZdZd fdd Z ZS )Ϊ
MessageDefectz Base class for a message defect.Nc s |d k rt j| || _d S )N)ΪsuperΪ__init__Ϊline)Ϊselfr )Ϊ __class__r r r $ s zMessageDefect.__init__)N)r r r r r Ϊ
__classcell__r r )r r r
! s r
c @ s e Zd ZdZdS )ΪNoBoundaryInMultipartDefectzBA message claimed to be a multipart but had no boundary parameter.N)r r r r r r r r r ) s r c @ s e Zd ZdZdS )ΪStartBoundaryNotFoundDefectz+The claimed start boundary was never found.N)r r r r r r r r r , s r c @ s e Zd ZdZdS )ΪCloseBoundaryNotFoundDefectzEA start boundary was found, but not the corresponding close boundary.N)r r r r r r r r r / s r c @ s e Zd ZdZdS )Ϊ#FirstHeaderLineIsContinuationDefectz;A message had a continuation line as its first header line.N)r r r r r r r r r 2 s r c @ s e Zd ZdZdS )ΪMisplacedEnvelopeHeaderDefectz?A 'Unix-from' header was found in the middle of a header block.N)r r r r r r r r r 5 s r c @ s e Zd ZdZdS )Ϊ MissingHeaderBodySeparatorDefectzEFound line with no leading whitespace and no colon before blank line.N)r r r r r r r r r 8 s r c @ s e Zd ZdZdS )Ϊ!MultipartInvariantViolationDefectz?A message claimed to be a multipart but no subparts were found.N)r r r r r r r r r = s r c @ s e Zd ZdZdS )Ϊ-InvalidMultipartContentTransferEncodingDefectzEAn invalid content transfer encoding was set on the multipart itself.N)r r r r r r r r r @ s r c @ s e Zd ZdZdS )ΪUndecodableBytesDefectz0Header contained bytes that could not be decodedN)r r r r r r r r r C s r c @ s e Zd ZdZdS )ΪInvalidBase64PaddingDefectz/base64 encoded sequence had an incorrect lengthN)r r r r r r r r r F s r c @ s e Zd ZdZdS )ΪInvalidBase64CharactersDefectz=base64 encoded sequence had characters not in base64 alphabetN)r r r r r r r r r I s r c @ s e Zd ZdZdS )ΪInvalidBase64LengthDefectz4base64 encoded sequence had invalid length (1 mod 4)N)r r r r r r r r r L s r c s e Zd ZdZ fddZ ZS )ΪHeaderDefectzBase class for a header defect.c s t j|| d S )N)r r )r ΪargsΪkw)r r r r T s zHeaderDefect.__init__)r r r r r r r r )r r r Q s r c @ s e Zd ZdZdS )ΪInvalidHeaderDefectz+Header is not valid, message gives details.N)r r r r r r r r r# W s r# c @ s e Zd ZdZdS )ΪHeaderMissingRequiredValuez(A header that must have a value had noneN)r r r r r r r r r$ Z s r$ c s( e Zd ZdZ fddZdd Z ZS )ΪNonPrintableDefectz8ASCII characters outside the ascii-printable range foundc s t j| || _d S )N)r r Ϊnon_printables)r r&