lfdZddlmZGddeZGddeZGddeZGd d eZGd d 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.3.5/opt/imunify360/venv/lib/python3.11/site-packages/geoip2/errors.pyrr sr rceZdZdZdS)AddressNotFoundErrorz.The address you were looking up was not found.Nrr r r rrs8888r rceZdZdZdS)AuthenticationErrorz/There was a problem authenticating the request.Nrr r r rrs9999r rc deZdZdZ 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 Nmessage http_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.Nrr r r r"r"4s""""r r"ceZdZdZdS)OutOfQueriesErrorz5Your account is out of funds for the service queried.Nrr r r r$r$8s????r r$ceZdZdZdS)PermissionRequiredErrorz=Your account does not have permission to access this service.Nrr r r r&r&<sGGGGr r&N) r typingr RuntimeErrorrrrrr"r$r&r r r r)se ,99999;999:::::+:::///// ///2#####+###@@@@@ @@@HHHHHkHHHHHr