|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/imunify360/venv/lib/python3.11/site-packages/geoip2/__pycache__/ |
�
��gh� � �� � d Z ddlmZ G d� de� � Z G d� de� � Z G d� de� � Z G d � d
e� � Z G d� de� � Z G d
� de� � Z G d� de� � Z
dS )z
Errors
======
� )�Optionalc � � e Zd ZdZdS )�GeoIP2Errorz�There was a generic error in GeoIP2.
This class represents a generic error. It extends :py:exc:`RuntimeError`
and does not add any additional attributes.
N��__name__�
__module__�__qualname__�__doc__� � �D/opt/imunify360/venv/lib64/python3.11/site-packages/geoip2/errors.pyr r
s � � � � � �� � � r r c � � e Zd ZdZdS )�AddressNotFoundErrorz.The address you were looking up was not found.Nr r r r
r r s � � � � � �8�8�8�8r r c � � e Zd ZdZdS )�AuthenticationErrorz/There was a problem authenticating the request.Nr r r r
r r s � � � � � �9�9�9�9r r c �d � � e Zd ZdZ d dedee dee dee ddf
� fd�
Z� xZS )
� HTTPErrora= There was an error when making your HTTP request.
This class represents an HTTP transport error. It extends
:py:exc:`GeoIP2Error` and adds attributes of its own.
:ivar http_status: The HTTP status code returned
:ivar uri: The URI queried
:ivar decoded_content: The decoded response content
N�message�http_status�uri�decoded_content�returnc �t �� t � � � |� � || _ || _ || _ d S )N)�super�__init__r r r )�selfr r r r � __class__s �r
r zHTTPError.__init__'