AlkantarClanX12

Your IP : 18.220.200.197


Current Path : /opt/imunify360/venv/lib/python3.11/site-packages/geoip2/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/geoip2/__pycache__/errors.cpython-311.pyc

�

l��f�����dZddlmZGd�de��ZGd�de��ZGd�de��ZGd	�d
e��ZGd�de��ZGd
�de��Z	Gd�de��Z
dS)z
Errors
======

�)�Optionalc��eZdZdZdS)�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__���m/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/geoip2/errors.pyrr
s���������rrc��eZdZdZdS)�AddressNotFoundErrorz.The address you were looking up was not found.Nrrrr
rrs������8�8�8�8rrc��eZdZdZdS)�AuthenticationErrorz/There was a problem authenticating the request.Nrrrr
rrs������9�9�9�9rrc�d��eZdZdZ			d	dedeedeedeeddf
�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���|��||_||_||_dS)N)�super�__init__rrr)�selfrrrr�	__class__s     �r
rzHTTPError.__init__'s:���	������!�!�!�&������.����r)NNN)	rrr	r
�strr�intr�
__classcell__)rs@r
rrs��������	�	�&*�!�)-�
/�
/��
/��c�]�
/��c�]�	
/�
"�#��
/�
�
/�
/�
/�
/�
/�
/�
/�
/�
/�
/rrc��eZdZdZdS)�InvalidRequestErrorzThe request was invalid.Nrrrr
r"r"4s������"�"�"�"rr"c��eZdZdZdS)�OutOfQueriesErrorz5Your account is out of funds for the service queried.Nrrrr
r$r$8s������?�?�?�?rr$c��eZdZdZdS)�PermissionRequiredErrorz=Your account does not have permission to access this service.Nrrrr
r&r&<s������G�G�G�Grr&N)r
�typingr�RuntimeErrorrrrrr"r$r&rrr
�<module>r)se���������������,����9�9�9�9�9�;�9�9�9�:�:�:�:�:�+�:�:�:�/�/�/�/�/��/�/�/�2#�#�#�#�#�+�#�#�#�@�@�@�@�@��@�@�@�H�H�H�H�H�k�H�H�H�H�Hr