PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
wp-statistics
/
src
/
Dependencies
/
MaxMind
/
WebService
<?php declare(strict_types=1); namespace MaxMind\Exception; /** * Thrown when a MaxMind web service returns an error relating to the request. */ class InvalidRequestException extends HttpException { /** * The code returned by the MaxMind web service. * * @var string */ private $error; /** * @param string $message the exception message * @param string $error the error code returned by the MaxMind web service * @param int $httpStatus the HTTP status code of the response * @param string $uri the URI queries * @param \Exception $previous the previous exception, if any */ public function __construct( string $message, string $error, int $httpStatus, string $uri, ?\Exception $previous = null ) { $this->error = $error; parent::__construct($message, $httpStatus, $uri, $previous); } public function getErrorCode(): string { return $this->error; } }
[-] InvalidInputException.php
[edit]
[+]
Http
[-] Client.php
[edit]
[-] IpAddressNotFoundException.php
[edit]
[-] InsufficientFundsException.php
[edit]
[-] PermissionRequiredException.php
[edit]
[-] HttpException.php
[edit]
[+]
vendor
[-] AuthenticationException.php
[edit]
[-] WebServiceException.php
[edit]
[+]
..
[-] InvalidRequestException.php
[edit]