From 25b7d2aab61ae6421398d3abae5da6ffe590333d Mon Sep 17 00:00:00 2001 From: s1n Date: Sat, 28 Mar 2020 10:36:41 -0700 Subject: 3/28/2020, 10:36 --- .../src/Exception/AuthenticationException.php | 10 ++++++ .../src/Exception/HttpException.php | 40 ++++++++++++++++++++++ .../src/Exception/InsufficientFundsException.php | 10 ++++++ .../src/Exception/InvalidInputException.php | 12 +++++++ .../src/Exception/InvalidRequestException.php | 37 ++++++++++++++++++++ .../src/Exception/IpAddressNotFoundException.php | 7 ++++ .../src/Exception/PermissionRequiredException.php | 10 ++++++ .../src/Exception/WebServiceException.php | 10 ++++++ 8 files changed, 136 insertions(+) create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/HttpException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/InvalidInputException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/PermissionRequiredException.php create mode 100644 includes/vendor/maxmind/web-service-common/src/Exception/WebServiceException.php (limited to 'includes/vendor/maxmind/web-service-common/src/Exception') diff --git a/includes/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php b/includes/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php new file mode 100644 index 0000000..ba42362 --- /dev/null +++ b/includes/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php @@ -0,0 +1,10 @@ +uri = $uri; + parent::__construct($message, $httpStatus, $previous); + } + + public function getUri() + { + return $this->uri; + } + + public function getStatusCode() + { + return $this->getCode(); + } +} diff --git a/includes/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php b/includes/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php new file mode 100644 index 0000000..fe159a2 --- /dev/null +++ b/includes/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php @@ -0,0 +1,10 @@ +error = $error; + parent::__construct($message, $httpStatus, $uri, $previous); + } + + public function getErrorCode() + { + return $this->error; + } +} diff --git a/includes/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php b/includes/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php new file mode 100644 index 0000000..31608f7 --- /dev/null +++ b/includes/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php @@ -0,0 +1,7 @@ +