lsgapi/exception

There is no license information available for the latest version (dev-master) of this package.

抛出异常

Maintainers

Details

github.com/linsonggao/lsg

dev-master 2022-11-17 08:17 UTC

This package is auto-updated.

Last update: 2025-06-17 13:53:27 UTC


README

config/app.php下新增

Lsg\Exception\PackageApiExceptionServiceProvider::class 'ApiException' => Lsg\Exception\ApiException::class

composer require lsgapi/exception php artisan vendor:publish

项目中使用

throw new \ApiException(400);