
    d?i                     "    S SK r  " S S\5      rg)    Nc                        \ rS rSrS rS rSrg)APIError   c                     Xl         X l        g )N
error_code
error_json)selfr   r	   s      P/var/www/html/livechat/backend/venv/lib/python3.13/site-packages/ipinfo/error.py__init__APIError.__init__   s    $$    c                 `    SU R                    S[        R                  " U R                  SS9 3$ )Nz
APIError: 
   )indent)r   jsondumpsr	   )r
   s    r   __str__APIError.__str__	   s+    DOO,Btzz$//RS/T.UVVr   r   N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__ r   r   r   r      s    %Wr   r   )r   	Exceptionr   r   r   r   <module>r      s    Wy Wr   