Вход Регистрация
Файл: vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php
Строк: 25
<?php

declare(strict_types=1);

namespace 
GeoIp2Exception;

/**
 * This class represents an error returned by MaxMind's GeoIP2
 * web service.
 */
class InvalidRequestException extends HttpException
{
    
/**
     * The code returned by the MaxMind web service.
     *
     * @var string
     */
    
public $error;

    public function 
__construct(
        
string $message,
        
string $error,
        
int $httpStatus,
        
string $uri,
        
Exception $previous = null
    
) {
        
$this->error = $error;
        
parent::__construct($message, $httpStatus, $uri, $previous);
    }
}
Онлайн: 0
Реклама