class InvalidRequestException in Smart IP 7.2
Same name in this branch
- 7.2 includes/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php \MaxMind\Exception\InvalidRequestException
- 7.2 includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php \GeoIp2\Exception\InvalidRequestException
Same name and namespace in other branches
- 6.2 includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php \GeoIp2\Exception\InvalidRequestException
This class represents an error returned by MaxMind's GeoIP2 web service.
Hierarchy
- class \GeoIp2\Exception\GeoIp2Exception extends \GeoIp2\Exception\Exception
- class \GeoIp2\Exception\HttpException
- class \GeoIp2\Exception\InvalidRequestException
- class \GeoIp2\Exception\HttpException
Expanded class hierarchy of InvalidRequestException
1 file declares its use of InvalidRequestException
- Client.php in includes/
vendor/ geoip2/ geoip2/ src/ WebService/ Client.php
File
- includes/
vendor/ geoip2/ geoip2/ src/ Exception/ InvalidRequestException.php, line 9
Namespace
GeoIp2\ExceptionView source
class InvalidRequestException extends HttpException {
/**
* The code returned by the MaxMind web service
*/
public $error;
public function __construct($message, $error, $httpStatus, $uri, \Exception $previous = null) {
$this->error = $error;
parent::__construct($message, $httpStatus, $uri, $previous);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpException:: |
public | property | The URI queried | |
InvalidRequestException:: |
public | property | The code returned by the MaxMind web service | |
InvalidRequestException:: |
public | function |
Overrides HttpException:: |