Ë
    …jÐj  ã                   ó¼   — d dl 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)é    Nc                   ó   — e Zd ZdZy)ÚTweepyExceptionz9Base exception for Tweepy

    .. versionadded:: 4.0
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ú‡/var/labsstorage/home/Thilakkumar/htdocs/soical-media-automation/automation_platform/venv/lib/python3.12/site-packages/tweepy/errors.pyr   r      s   „ ñð 	r   r   c                   ó(   ‡ — e Zd ZdZddœˆ fd„
Zˆ xZS )ÚHTTPExceptiona�  HTTPException()

    Exception raised when an HTTP request fails

    .. versionadded:: 4.0

    .. versionchanged:: 4.10
        ``response`` attribute can be an instance of
        :class:`aiohttp.ClientResponse`

    Attributes
    ----------
    response : requests.Response | aiohttp.ClientResponse
        Requests Response from the Twitter API
    api_errors : list[dict[str, int | str]]
        The errors the Twitter API responded with, if any
    api_codes : list[int]
        The error codes the Twitter API responded with, if any
    api_messages : list[str]
        The error messages the Twitter API responded with, if any
    N)Úresponse_jsonc                óœ  •— || _         g | _        g | _        g | _        	 |j                  }|€	 |j                  «       }|j                  dg «      }d|v r|j                  |d   «       d}|D ]¿  }| j                  j                  |«       t        |t         «      r$| j                  j                  |«       |d|z   z  }ŒRd|v r| j                  j                  |d   «       d|v r| j                  j                  |d   «       d|v rd|v r|d|d   › d|d   › �z  }Œ°d|v sŒµ|d|d   z   z  }ŒÁ |s*d	|v r&| j                  j                  |d	   «       d|d	   z   }t        ‰| �-  |› d|j                  › |› �«       y # t
        $ r |j                  }Y �Œhw xY w# t        j                  $ r! t        ‰| �-  |› d|j                  › �«       Y y w xY w)
Nú ÚerrorsÚerrorÚ ú
ÚcodeÚmessagez - Údetail)ÚresponseÚ
api_errorsÚ	api_codesÚapi_messagesÚstatus_codeÚAttributeErrorÚstatusÚjsonÚrequestsÚJSONDecodeErrorÚsuperÚ__init__ÚreasonÚgetÚappendÚ
isinstanceÚstr)Úselfr   r   r   r   Ú
error_textr   Ú	__class__s          €r   r$   zHTTPException.__init__'   sþ  ø€ Ø ˆŒàˆŒØˆŒØˆÔð	*Ø"×.Ñ.ˆKð
 Ð ðØ (§¡£�ð
 ×"Ñ" 8¨RÓ0ˆð �mÑ#Ø�M‰M˜-¨Ñ0Ô1àˆ
àò 	6ˆEØ�O‰O×"Ñ" 5Ô)ä˜%¤Ô%Ø×!Ñ!×(Ñ(¨Ô/Ø˜d U™lÑ*�
Øà˜‰Ø—‘×%Ñ% e¨F¡mÔ4Ø˜EÑ!Ø×!Ñ!×(Ñ(¨¨yÑ)9Ô:à˜‰ 9°Ñ#5Ø  5¨¡= /°°U¸9Ñ5EÐ4FÐGÑG‘
Ø˜eÒ#Ø˜d U¨9Ñ%5Ñ5Ñ5‘
ð!	6ñ& ˜h¨-Ñ7Ø×Ñ×$Ñ$ ]°8Ñ%<Ô=Ø ¨hÑ 7Ñ7ˆJä‰ÑØˆm˜1˜XŸ_™_Ð-¨j¨\Ð:õ	
øôU ò 	*à"Ÿ/™/‹Kð	*ûô ×+Ñ+ò Ü‘Ñ  K =°°(·/±/Ð1BÐ!CÔDÙðús"   ŸE; ®F Å;FÆFÆ1GÇ
G)r   r   r   r	   r$   Ú__classcell__)r,   s   @r   r   r      s   ø„ ñð, 37÷ 5
ò 5
r   r   c                   ó   — e Zd ZdZy)Ú
BadRequestz]BadRequest()

    Exception raised for a 400 HTTP status code

    .. versionadded:: 4.0
    Nr   r
   r   r   r/   r/   _   ó   „ ñð 	r   r/   c                   ó   — e Zd ZdZy)ÚUnauthorizedz_Unauthorized()

    Exception raised for a 401 HTTP status code

    .. versionadded:: 4.0
    Nr   r
   r   r   r2   r2   i   r0   r   r2   c                   ó   — e Zd ZdZy)Ú	Forbiddenz\Forbidden()

    Exception raised for a 403 HTTP status code

    .. versionadded:: 4.0
    Nr   r
   r   r   r4   r4   s   r0   r   r4   c                   ó   — e Zd ZdZy)ÚNotFoundz[NotFound()

    Exception raised for a 404 HTTP status code

    .. versionadded:: 4.0
    Nr   r
   r   r   r6   r6   }   r0   r   r6   c                   ó   — e Zd ZdZy)ÚTooManyRequestszbTooManyRequests()

    Exception raised for a 429 HTTP status code

    .. versionadded:: 4.0
    Nr   r
   r   r   r8   r8   ‡   r0   r   r8   c                   ó   — e Zd ZdZy)ÚTwitterServerErrorzeTwitterServerError()

    Exception raised for a 5xx HTTP status code

    .. versionadded:: 4.0
    Nr   r
   r   r   r:   r:   ‘   r0   r   r:   )
r!   Ú	Exceptionr   r   r/   r2   r4   r6   r8   r:   r
   r   r   ú<module>r<      sm   ðó
 ô	�iô 	ôL
�Oô L
ô^	�ô 	ô	�=ô 	ô	�ô 	ô	ˆ}ô 	ô	�mô 	ô	˜õ 	r   