Ë
    3ýj™  ã                  óò  — d Z ddlmZ ddlmZ ddlmZ ddlm	Z	m
Z
 ddlmZmZmZ e	rddlmZ dZ e
d	e¬
«      Z	 d-	 	 	 	 	 	 	 d.d„Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ d e«      Z G d!„ d"e«      Z  G d#„ d$e«      Z! G d%„ d&e«      Z" G d'„ d(e"«      Z# G d)„ d*e«      Z$ G d+„ d,e«      Z%y)/zExceptions.é    )Úannotations)Útimeout)ÚTracebackType)ÚTYPE_CHECKINGÚTypeVar)ÚChannelErrorÚConnectionErrorÚResourceError)ÚResponse)ÚreraiseÚ
KombuErrorÚOperationalErrorÚBatchPublishErrorÚNotBoundErrorÚMessageStateErrorÚTimeoutErrorÚLimitExceededÚConnectionLimitExceededÚChannelLimitExceededr	   r   ÚVersionMismatchÚSerializerNotInstalledr
   ÚSerializationErrorÚEncodeErrorÚDecodeErrorÚ	HttpErrorÚInconsistencyErrorÚBaseExceptionType)ÚboundNc                óD   — |j                   |ur|j                  |«      ‚|‚)zReraise exception.)Ú__traceback__Úwith_traceback)ÚtpÚvalueÚtbs      úJ/root/telegram-saas/.venv/lib/python3.12/site-packages/kombu/exceptions.pyr   r      s(   € ð ×Ñ "Ñ$Ø×"Ñ" 2Ó&Ð&Ø
€Kó    c                  ó   — e Zd ZdZy)r   z)Common subclass for all Kombu exceptions.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r&   r%   r   r   &   s   „ Ú3r&   r   c                  ó   — e Zd ZdZy)r   z/Recoverable message transport connection error.Nr(   r-   r&   r%   r   r   *   s   „ Ú9r&   r   c                  ó   — e Zd ZdZy)r   z<Batch publication failed with an uncertain delivery outcome.Nr(   r-   r&   r%   r   r   .   s   „ ÚFr&   r   c                  ó   — e Zd ZdZy)r   z(Failed to serialize/deserialize content.Nr(   r-   r&   r%   r   r   2   s   „ Ú2r&   r   c                  ó   — e Zd ZdZy)r   zCannot encode object.Nr(   r-   r&   r%   r   r   6   ó   „ Úr&   r   c                  ó   — e Zd ZdZy)r   zCannot decode object.Nr(   r-   r&   r%   r   r   :   r2   r&   r   c                  ó   — e Zd ZdZy)r   z:Trying to call channel dependent method on unbound entity.Nr(   r-   r&   r%   r   r   >   s   „ ÚDr&   r   c                  ó   — e Zd ZdZy)r   z*The message has already been acknowledged.Nr(   r-   r&   r%   r   r   B   ó   „ Ú4r&   r   c                  ó   — e Zd ZdZy)r   zLimit exceeded.Nr(   r-   r&   r%   r   r   F   s   „ Úr&   r   c                  ó   — e Zd ZdZy)r   z4Maximum number of simultaneous connections exceeded.Nr(   r-   r&   r%   r   r   J   s   „ Ú>r&   r   c                  ó   — e Zd ZdZy)r   z1Maximum number of simultaneous channels exceeded.Nr(   r-   r&   r%   r   r   N   s   „ Ú;r&   r   c                  ó   — e Zd ZdZy)r   z$Library dependency version mismatch.Nr(   r-   r&   r%   r   r   R   s   „ Ú.r&   r   c                  ó   — e Zd ZdZy)r   z>Support for the requested serialization type is not installed.Nr(   r-   r&   r%   r   r   V   s   „ ÚHr&   r   c                  ó   — e Zd ZdZy)ÚContentDisallowedz*Consumer does not allow this content-type.Nr(   r-   r&   r%   r=   r=   Z   r6   r&   r=   c                  ó   — e Zd ZdZy)r   z‚Data or environment has been found to be inconsistent.

    Depending on the cause it may be possible to retry the operation.
    Nr(   r-   r&   r%   r   r   ^   s   „ òr&   r   c                  ó@   ‡ — e Zd ZdZ	 	 d	 	 	 	 	 	 	 dˆ fd„Zdd„Zˆ xZS )r   zHTTP Client Error.c                óR   •— || _         || _        || _        t        ‰| �  |||«       y ©N)ÚcodeÚmessageÚresponseÚsuperÚ__init__)ÚselfrB   rC   rD   Ú	__class__s       €r%   rF   zHttpError.__init__h   s+   ø€ ð ˆŒ	ØˆŒØ ˆŒÜ‰Ñ˜˜w¨Õ1r&   c                ó$   — dj                  | «      S )NzHTTP {0.code}: {0.message})Úformat)rG   s    r%   Ú__str__zHttpError.__str__s   s   € Ø+×2Ñ2°4Ó8Ð8r&   )NN)rB   ÚintrC   z
str | NonerD   zResponse | NoneÚreturnÚNone)rM   Ústr)r)   r*   r+   r,   rF   rK   Ú__classcell__)rH   s   @r%   r   r   e   s>   ø„ Ùð
 #Ø$(ð		2àð	2ð ð	2ð "ð		2ð
 
õ	2÷9r&   r   rA   )r"   ztype[BaseExceptionType]r#   r   r$   zTracebackType | NonerM   r   )&r,   Ú
__future__r   Úsocketr   r   Útypesr   Útypingr   r   Úamqpr   r	   r
   Úkombu.asynchronous.httpr   Ú__all__ÚBaseExceptionr   r   Ú	Exceptionr   r   r   r   r   r   r   r   r   r   r   r   r   r=   r   r   r-   r&   r%   ú<module>rZ      s.  ðÙ å "å *Ý ß )ç =Ñ =áÝ0ð€ñ Ð/°}ÔEÐ ð  $ðØðàðð 	ðð ó	ô4�ô 4ô:�zô :ôG˜
ô Gô3˜ô 3ô Ð$ô  ô Ð$ô  ôE�Jô Eô5˜
ô 5ô�Jô ô?˜mô ?ô<˜=ô <ô/�jô /ôI˜Zô Iô5Ð.ô 5ô˜ô ô9�	õ 9r&   