fivepercent / exception
为您的系统添加更多异常
v1.0
2015-06-04 08:23 UTC
Requires
- php: >=5.4
Suggests
- symfony/validator: For ViolationListException
This package is not auto-updated.
Last update: 2024-09-28 17:59:59 UTC
README
此包为您的系统添加更多异常。
- UnexpectedTypeException
- JsonParseException
- ViolationListException
- 应安装 symfony/validator 包。
- UnexpectedTrait
- 创建意外异常的辅助工具。
安装
在您的 composer.json 中添加 FivePercent/Exception
{ "require": { "fivepercent/exception": "~1.0" } }
现在运行以下命令告诉 composer 下载库
$ php composer.phar update fivepercent/exception