30 lines
600 B
PHP
30 lines
600 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 AccessDeniedHttpException extends BaseException
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @var int
|
||
|
|
*/
|
||
|
|
public int $statusCode = 403;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public string $errorMessage = '当前操作没有权限执行,请检查您的账户权限';
|
||
|
|
}
|