You are here

public function InvalidRequestException::__construct in Smart IP 6.2

Same name in this branch
  1. 6.2 includes/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php \MaxMind\Exception\InvalidRequestException::__construct()
  2. 6.2 includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php \GeoIp2\Exception\InvalidRequestException::__construct()
Same name and namespace in other branches
  1. 7.2 includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php \GeoIp2\Exception\InvalidRequestException::__construct()

Overrides HttpException::__construct

File

includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php, line 16

Class

InvalidRequestException
This class represents an error returned by MaxMind's GeoIP2 web service.

Namespace

GeoIp2\Exception

Code

public function __construct($message, $error, $httpStatus, $uri, \Exception $previous = null) {
  $this->error = $error;
  parent::__construct($message, $httpStatus, $uri, $previous);
}