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

16 lines
296 B
PHP

<?php
namespace App\Exceptions;
use Symfony\Component\HttpFoundation\Response;
use Dipper\Foundation\Exceptions\HttpException;
class ExistedException extends HttpException
{
public $httpStatusCode = Response::HTTP_BAD_REQUEST;
public $message = '已存在';
public $code = -1;
}