PHP 8.3.31
Preview: InvalidRequestException.php Size: 579 B
/home/getspomw/royalsquad.us/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php

<?php

declare(strict_types=1);

namespace GeoIp2\Exception;

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

    public function __construct(
        string $message,
        string $error,
        int $httpStatus,
        string $uri,
        ?\Exception $previous = null
    ) {
        $this->error = $error;
        parent::__construct($message, $httpStatus, $uri, $previous);
    }
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
187 B lrw-rw-rw- 2025-05-05 08:48:26
Edit Download
186 B lrw-rw-rw- 2025-05-05 08:48:26
Edit Download
173 B lrw-rw-rw- 2025-05-05 08:48:26
Edit Download
479 B lrw-rw-rw- 2025-05-05 08:48:26
Edit Download
579 B lrw-rw-rw- 2025-05-05 08:48:26
Edit Download
184 B lrw-rw-rw- 2025-05-05 08:48:26
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).