Files
moodle/lib/maxmind/GeoIp2/Exception/HttpException.php
T
Ankit Agarwal 4e23b6b207 MDL-60291 libraries: Upgrade maxmind lib
Geoip 2.4.2 -> 2.6.0
MaxMind 1.1.0 -> 1.1.3
2017-10-02 13:47:02 +05:30

25 lines
427 B
PHP

<?php
namespace GeoIp2\Exception;
/**
* This class represents an HTTP transport error.
*/
class HttpException extends GeoIp2Exception
{
/**
* The URI queried.
*/
public $uri;
public function __construct(
$message,
$httpStatus,
$uri,
\Exception $previous = null
) {
$this->uri = $uri;
parent::__construct($message, $httpStatus, $previous);
}
}