§
    Àiì  ã                   óÊ   — d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d„ d eee¦  «        ¦  «        Z	 ed	d
e¬¦  «         G d„ de	¦  «        ¦   «         Z
 G d„ de	¦  «        ZdS )zlinebot.exceptions module.é    )ÚABCMeta)Úwith_metaclass)Ú
deprecatedé   )ÚLineBotSdkDeprecatedIn30c                   ó&   — e Zd ZdZdd„Zd„ Zd„ ZdS )Ú	BaseErrorzBase Exception class.Ú-c                 ó   — || _         dS ©zM__init__ method.

        :param str message: Human readable message
        N)Úmessage)Úselfr   s     úW/home/mmwave/public_html/mmwave/venv/lib/python3.11/site-packages/linebot/exceptions.pyÚ__init__zBaseError.__init__   s   € ð
 ˆŒˆˆó    c                 ó    — t          | ¦  «        S )zrepr.)Ústr©r   s    r   Ú__repr__zBaseError.__repr__&   s   € å�4‰yŒyÐr   c                 óL   — d                      | j        j        | j        ¦  «        S )ú"str.

        :rtype: str
        z<{0} [{1}]>)ÚformatÚ	__class__Ú__name__r   r   s    r   Ú__str__zBaseError.__str__*   s(   € ð
 ×#Ò#ØŒNÔ# T¤\ñ3ô 3ð 	3r   N©r
   )r   Ú
__module__Ú__qualname__Ú__doc__r   r   r   © r   r   r	   r	      sL   € € € € € ØÐðð ð ð ðð ð ð3ð 3ð 3ð 3ð 3r   r	   z·Use 'from linebot.v3.exceptions import InvalidSignatureError' and v3 webhook handlers instead. See https://github.com/line/line-bot-sdk-python/blob/master/README.rst for more details.z3.0.0)ÚreasonÚversionÚcategoryc                   ó$   ‡ — e Zd ZdZdˆ fd„	Zˆ xZS )ÚInvalidSignatureErrorzAWhen Webhook signature does NOT match, this error will be raised.r
   c                 óX   •— t          t          | ¦  «                             |¦  «         dS r   )Úsuperr%   r   )r   r   r   s     €r   r   zInvalidSignatureError.__init__7   s*   ø€ õ
 	Õ# TÑ*Ô*×3Ò3°GÑ<Ô<Ð<Ð<Ð<r   r   )r   r   r   r   r   Ú__classcell__©r   s   @r   r%   r%   3   sC   ø€ € € € € àKÐKð=ð =ð =ð =ð =ð =ð =ð =ð =ð =r   r%   c                   ó0   ‡ — e Zd ZdZ	 	 	 dˆ fd„	Zd„ Zˆ xZS )ÚLineBotApiErrorzBWhen LINE Messaging API response error, this error will be raised.Nc                 ó¨   •— t          t          | ¦  «                             |j        ¦  «         || _        || _        || _        || _        || _        dS )aÉ  __init__ method.

        :param int status_code: HTTP status code
        :param headers: Response headers
        :type headers: dict[str, str]
        :param str request_id: (optional) Request ID. A unique ID is generated for each request
        :param str accepted_request_id: (optional) The same request has already been accepted
        :param error: (optional) Error class object.
        :type error: :py:class:`linebot.models.error.Error`
        N)	r'   r+   r   r   Ústatus_codeÚheadersÚ
request_idÚaccepted_request_idÚerror)r   r-   r.   r/   r0   r1   r   s         €r   r   zLineBotApiError.__init__B   sN   ø€ õ$ 	�o˜tÑ$Ô$×-Ò-¨e¬mÑ<Ô<Ð<à&ˆÔØˆŒØ$ˆŒØ#6ˆÔ ØˆŒ
ˆ
ˆ
r   c                 óø   — | j         r=d                     | j        j        | j        | j        | j         | j        | j        ¦  «        S d                     | j        j        | j        | j        | j        | j        ¦  «        S )r   z^{0}: status_code={1}, request_id={2}, accepted_request_id={3}, error_response={4}, headers={5}zE{0}: status_code={1}, request_id={2}, error_response={3}, headers={4})r0   r   r   r   r-   r/   r1   r.   r   s    r   r   zLineBotApiError.__str__\   s€   € ð
 Ô#ð 	&ðNç’˜œÔ/ØÔ(ØœØÔ0Øœ
Øœñ&ô &ð&ð W×]Ò]ØŒNÔ# TÔ%5°t´ÈÌ
ØŒLñô ð 	r   )NNN)r   r   r   r   r   r   r(   r)   s   @r   r+   r+   ?   s]   ø€ € € € € ØLÐLð Ø $Øðð ð ð ð ð ð4ð ð ð ð ð ð r   r+   N)r   Úabcr   Úfuture.utilsr   r   Údeprecationsr   Ú	Exceptionr	   r%   r+   r    r   r   ú<module>r7      s.  ðð !Ð  à Ð Ð Ð Ð Ð à 'Ð 'Ð 'Ð 'Ð 'Ð 'à !Ð !Ð !Ð !Ð !Ð !ðð ð ð ð ð ð
3ð 3ð 3ð 3ð 3��˜w¨	Ñ2Ô2ñ 3ô 3ð 3ð. €ð  Mð  W^ð  iAð  Bñ  Bô  Bð=ð =ð =ð =ð =˜Iñ =ô =ñ Bô  Bð=ð-ð -ð -ð -ð -�iñ -ô -ð -ð -ð -r   