관리-도구
편집 파일: errors.cpython-311.pyc
� S�Dg� � �� � 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__� � �m/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/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__'