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



]jdZddlmZGddeZGddeZGddeZGd	d
eZGddeZGd
deZ	GddeZ
dS)z
Errors
======

)OptionalceZdZdZdS)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.3/opt/imunify360/venv/lib/python3.11/site-packages/geoip2/errors.pyrr
srrceZdZdZdS)AddressNotFoundErrorz.The address you were looking up was not found.Nrrrr
rrs8888rrceZdZdZdS)AuthenticationErrorz/There was a problem authenticating the request.Nrrrr
rrs9999rrcdeZdZdZ			d	dedeedeedeeddf
fd
ZxZS)
	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_contentreturnctt|||_||_||_dS)N)super__init__rrr)selfrrrr	__class__s     r
rzHTTPError.__init__'s:	!!!&.r)NNN)	rrr	r
strrintr
__classcell__)rs@r
rrs		&*!)-
/
/
/c]
/c]	
/
"#
/

/
/
/
/
/
/
/
/
/
/rrceZdZdZdS)InvalidRequestErrorzThe request was invalid.Nrrrr
r"r"4s""""rr"ceZdZdZdS)OutOfQueriesErrorz5Your account is out of funds for the service queried.Nrrrr
r$r$8s????rr$ceZdZdZdS)PermissionRequiredErrorz=Your account does not have permission to access this service.Nrrrr
r&r&<sGGGGrr&N)r
typingrRuntimeErrorrrrrr"r$r&rrr
<module>r)se,99999;999:::::+:::////////2#####+###@@@@@@@@HHHHHkHHHHHr
Back to Directory File Manager