You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
427 B
25 lines
427 B
3 years ago
|
<?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);
|
||
|
}
|
||
|
}
|