View file vendor/slim/slim/Slim/Exception/HttpUnauthorizedException.php

File size: 526B
<?php

/**
 * Slim Framework (https://slimframework.com)
 *
 * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
 */

declare(strict_types=1);

namespace Slim\Exception;

class HttpUnauthorizedException extends HttpSpecializedException
{
    /**
     * @var int
     */
    protected $code = 401;

    /**
     * @var string
     */
    protected $message = 'Unauthorized.';

    protected $title = '401 Unauthorized';
    protected $description = 'The request requires valid user authentication.';
}