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