public function HttpException::__construct in Smart IP 6.2
Same name in this branch
- 6.2 includes/vendor/maxmind/web-service-common/src/Exception/HttpException.php \MaxMind\Exception\HttpException::__construct()
- 6.2 includes/vendor/geoip2/geoip2/src/Exception/HttpException.php \GeoIp2\Exception\HttpException::__construct()
Same name and namespace in other branches
- 7.2 includes/vendor/maxmind/web-service-common/src/Exception/HttpException.php \MaxMind\Exception\HttpException::__construct()
Parameters
string $message A message describing the error.:
int $httpStatus The HTTP status code of the response:
string $uri The URI used in the request.:
\Exception $previous The previous exception, if any.:
1 call to HttpException::__construct()
- InvalidRequestException::__construct in includes/
vendor/ maxmind/ web-service-common/ src/ Exception/ InvalidRequestException.php
1 method overrides HttpException::__construct()
- InvalidRequestException::__construct in includes/
vendor/ maxmind/ web-service-common/ src/ Exception/ InvalidRequestException.php
File
- includes/
vendor/ maxmind/ web-service-common/ src/ Exception/ HttpException.php, line 21
Class
- HttpException
- This class represents an HTTP transport error.
Namespace
MaxMind\ExceptionCode
public function __construct($message, $httpStatus, $uri, \Exception $previous = null) {
$this->uri = $uri;
parent::__construct($message, $httpStatus, $previous);
}