Ϫf!dZddlmZGddeZGddeZGddeZGd d eZGd d eZGd deZ GddeZ GddeZ GddeZ GddeZ GddeZGddeZGddeZGddeZGdd eZGd!d"eZGd#d$eZGd%d&eZGd'd(eZGd)d*eZGd+d,eZGd-d.eZGd/d0eZGd1d2eZGd3d4eZGd5d6eZGd7d8eZGd9d:eZGd;deZ!Gd?d@e!Z"GdAdBe"Z#GdCdDe"Z$GdEdFeZ%GdGdHeZ&GdIdJeZ'GdKdLeZ(GdMdNe(Z)GdOdPe(Z*GdQdRe(Z+GdSdTe(Z,GdUdVe(Z-yW)Xz Exceptions in L{twisted.mail}. )Optionalc eZdZy)IMAP4ExceptionN__name__ __module__ __qualname__6/usr/lib/python3/dist-packages/twisted/mail/_except.pyrr r rc eZdZy)IllegalClientResponseNrr r r rrr r rc eZdZy)IllegalOperationNrr r r rrr r rc eZdZy)IllegalMailboxEncodingNrr r r rrr r rc eZdZy)MailboxExceptionNrr r r rrr r rceZdZdefdZy)MailboxCollisionreturnc d|jzS)NzMailbox named %s already existsargsselfs r __str__zMailboxCollision.__str__ s0499<... %s)rBrrCrs r rzSMTPAddressError.__str__s  DIItyy$))#DDDr Nr3r r r rrs" EEr rceZdZddZy) SMTPBadRcptc4tj||||yrqrr.rrrBrCs r r.zSMTPBadRcpt.__init__ !!$dD9r N)&z$Cannot receive for specified addressrrr r.r r r rr :r rceZdZddZy) SMTPBadSenderc4tj||||yrqrrs r r.zSMTPBadSender.__init__rr N)rzSender not acceptablerr r r rrrr rceZdZdZy) AddressErrorz Parse error in address Nr^r r r rrr_r rceZdZdZy) POP3Errorz) The base class for POP3 errors. Nr^r r r rrs  r rceZdZdZy)_POP3MessageDeletedzb An internal control-flow error which indicates that a deleted message was requested. Nr^r r r rr#r rceZdZdZy)POP3ClientErrorzA The base class for all exceptions raised by POP3Client. Nr^r r r rr*r_r rceZdZdZy) InsecureAuthenticationDisallowedze An error indicating secure authentication was required but no mechanism could be found. Nr^r r r rr0rr rceZdZdZy)TLSErrorz An error indicating secure authentication was required but either the transport does not support TLS or no TLS context factory was supplied. Nr^r r r rr7rr rceZdZdZy)TLSNotSupportedErrorzi An error indicating secure authentication was required but the server does not support TLS. Nr^r r r rr>rr rceZdZdZddZy)ServerErrorResponsez An error indicating that the server returned an error response to a request. @ivar consumer: See L{__init__} Nc>tj||||_y)a @type reason: L{bytes} @param reason: The server response minus the status indicator. @type consumer: callable that takes L{object} @param consumer: The function meant to handle the values for a multi-line response. N)rr.consumer)rreasonrs r r.zServerErrorResponse.__init__Ms   v.  r rqrur r r rrEs  !r rceZdZdZy) LineTooLongz An error indicating that the server sent a line which exceeded the maximum line length (L{LineOnlyReceiver.MAX_LENGTH}). Nr^r r r rrZrr rN).rWtypingr Exceptionrrrrrrr"r%r(r*r,r5r7r9r;r=r?rAr]rardrfrhrkrmrorxr{r~rrrrrrrrrrrrrr r r rs Y  N  ~  ^  ~ ='= 8$8 1&1    ~      N  ^         2i2j ((' (  * #SSSSSS 2i2EE:": :$: 9   )i ?!/!*/r