vd/app/Exceptions/UnauthorizedException.php
2018-11-05 09:26:30 +08:00

16 lines
302 B
PHP

<?php
namespace App\Exceptions;
use Symfony\Component\HttpFoundation\Response;
use Dipper\Foundation\Exceptions\HttpException;
class UnauthorizedException extends HttpException
{
public $httpStatusCode = Response::HTTP_NOT_FOUND;
public $message = '没有权限';
public $code = -1;
}