wXu: 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 )GeoIP2ErrorzThere 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.6.2/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 8888r r c e Zd ZdZdS )AuthenticationErrorz/There was a problem authenticating the request.Nr r r r r r s 9999r 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 Nmessagehttp_statusuridecoded_contentreturnc t t | || _ || _ || _ d S )N)super__init__r r r )selfr r r r __class__s r r zHTTPError.__init__' s: !!!&.r )NNN) r r r r strr intr __classcell__)r s @r r r s &*!)- / / / c] / c] / "# / / / / / / / / / / /r r c e Zd ZdZdS )InvalidRequestErrorzThe request was invalid.Nr r r r r" r" 4 s """"r r" c e Zd ZdZdS )OutOfQueriesErrorz5Your account is out of funds for the service queried.Nr r r r r$ r$ 8 s ????r r$ c e Zd ZdZdS )PermissionRequiredErrorz=Your account does not have permission to access this service.Nr r r r r&