Webservice => WebService

This commit is contained in:
Gregory Oschwald
2013-05-13 10:29:14 -07:00
parent 06cb4df177
commit 58673466c0
4 changed files with 18 additions and 18 deletions
@@ -0,0 +1,26 @@
<?php
namespace GeoIP2\Exception;
/**
* This class represents an error returned by MaxMind's GeoIP2 Precision
* web service.
*/
class WebServiceException 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);
}
}