Download the PHP package yangyifan/exception-helper without Composer
On this page you can find all versions of the php package yangyifan/exception-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package exception-helper
异常帮助类
安装
composer require yangyifan/exception-helper:v0.1
注意
自定义的异常请写入到 类的 属性里面。
use Yangyifan\Exception\InvalidArgumentException;
use Yangyifan\Exception\AppIsTooOldException;
use Yangyifan\Exception\AppNeedToUpdateException;
use Yangyifan\Exception\ForbiddenException;
use Yangyifan\Exception\PayErrorException;
use Yangyifan\Exception\RequestMethodErrorException;
use Yangyifan\Exception\RequestParamErrorException;
use Yangyifan\Exception\ServerErrorException;
use Yangyifan\Exception\TimeOutException;
use Yangyifan\Exception\ToManyRequestsException;
use Yangyifan\Exception\UnauthorizedException;
use Yangyifan\Exception\UserNotExistsException;
/**
* A list of the exception types that should not be reported.
*
* @var array
*/
protected $dontReport = [
HttpException::class,
ModelNotFoundException::class,
AppIsTooOldException::class,
AppNeedToUpdateException::class,
ForbiddenException::class,
InvalidArgumentException::class,
PayErrorException::class,
RequestMethodErrorException::class,
RequestParamErrorException::class,
ServerErrorException::class,
TimeOutException::class,
ToManyRequestsException::class,
UnauthorizedException::class,
UserNotExistsException::class,
];
协议
MIT
All versions of exception-helper with dependencies
PHP Build Version
Package Version
The package yangyifan/exception-helper contains the following files
Loading the files please wait ....