Ë
    šQj  ã                  óÜ  — 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$y)-zExceptions.é    )Úannotations)Útimeout)ÚTracebackType)ÚTYPE_CHECKINGÚTypeVar)ÚChannelErrorÚConnectionErrorÚResourceError)ÚResponse)ÚreraiseÚ
KombuErrorÚOperationalErrorÚ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      úL/var/www/html/truck-me/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(Failed to serialize/deserialize content.Nr'   r,   r%   r$   r   r   .   s   „ Ú2r%   r   c                  ó   — e Zd ZdZy)r   zCannot encode object.Nr'   r,   r%   r$   r   r   2   ó   „ Úr%   r   c                  ó   — e Zd ZdZy)r   zCannot decode object.Nr'   r,   r%   r$   r   r   6   r0   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   >   ó   „ Ú4r%   r   c                  ó   — e Zd ZdZy)r   zLimit exceeded.Nr'   r,   r%   r$   r   r   B   s   „ Úr%   r   c                  ó   — e Zd ZdZy)r   z4Maximum number of simultaneous connections exceeded.Nr'   r,   r%   r$   r   r   F   s   „ Ú>r%   r   c                  ó   — e Zd ZdZy)r   z1Maximum number of simultaneous channels exceeded.Nr'   r,   r%   r$   r   r   J   s   „ Ú;r%   r   c                  ó   — e Zd ZdZy)r   z$Library dependency version mismatch.Nr'   r,   r%   r$   r   r   N   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   R   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;   V   r4   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   Z   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__)Úselfr@   rA   rB   Ú	__class__s       €r$   rD   zHttpError.__init__d   s+   ø€ ð ˆŒ	ØˆŒØ ˆŒÜ‰Ñ˜˜w¨Õ1r%   c                ó$   — dj                  | «      S )NzHTTP {0.code}: {0.message})Úformat)rE   s    r$   Ú__str__zHttpError.__str__o   s   € Ø+×2Ñ2°4Ó8Ð8r%   )NN)r@   ÚintrA   z
str | NonerB   zResponse | NoneÚreturnÚNone)rK   Ústr)r(   r)   r*   r+   rD   rI   Ú__classcell__)rF   s   @r$   r   r   a   s>   ø„ Ùð
 #Ø$(ð		2àð	2ð ð	2ð "ð		2ð
 
õ	2÷9r%   r   r?   )r!   ztype[BaseExceptionType]r"   r   r#   zTracebackType | NonerK   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$   ú<module>rX      s   ðÙ å "å *Ý ß )ç =Ñ =áÝ0ð€ñ Ð/°}ÔEÐ ð  $ðØðàðð 	ðð ó	ô4�ô 4ô:�zô :ô3˜ô 3ô Ð$ô  ô Ð$ô  ôE�Jô Eô5˜
ô 5ô�Jô ô?˜mô ?ô<˜=ô <ô/�jô /ôI˜Zô Iô5Ð.ô 5ô˜ô ô9�	õ 9r%   