InvalidRequestException.php in Smart IP 7.2
Same filename in this branch
Same filename and directory in other branches
Namespace
GeoIp2\ExceptionFile
includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.phpView source
<?php
namespace GeoIp2\Exception;
/**
* This class represents an error returned by MaxMind's GeoIP2
* web service.
*/
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);
}
}
Classes
Name | Description |
---|---|
InvalidRequestException | This class represents an error returned by MaxMind's GeoIP2 web service. |