16 lines
306 B
PHP
16 lines
306 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Dipper\Foundation\Exceptions\HttpException;
|
|
|
|
class NotAllowedException extends HttpException
|
|
{
|
|
public $httpStatusCode = Response::HTTP_FORBIDDEN;
|
|
|
|
public $message = '不允许的操作';
|
|
|
|
public $code = -1;
|
|
}
|