Files
MrleeAdmin/backend/core/exception/handler/UnauthorizedHttpException.php
T
2026-08-31 11:33:59 +08:00

29 lines
575 B
PHP

<?php
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: https://madong.tech
*/
namespace core\exception\handler;
use core\exception\handler\BaseException;
class UnauthorizedHttpException extends BaseException
{
/**
* @var int
*/
public int $statusCode = 401;
/**
* @var string
*/
public string $errorMessage = '未经授权的访问,请先登录';
}