orisai/exceptions
最新稳定版本:1.1.5
Composer 安装命令:
composer require orisai/exceptions
包简介
Exceptions designed for static analysis and easy usage
README 文档
README
Exceptions
Exceptions designed for static analysis and easy usage
📄 Check out our documentation.
💸 If you like Orisai, please make a donation. Thank you!
use Orisai\Exceptions\Logic\InvalidState; use Orisai\Exceptions\Message; $message = Message::create() ->withContext('Trying to commit an import.') ->withProblem('There is nothing to commit.') ->withSolution('Check that the import files are not empty, and that filters are not too restrictive.'); throw InvalidState::create() ->withMessage($message);
... and more.
统计信息
- 总下载量: 160.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 1
- 依赖项目数: 28
- 推荐数: 0
其他信息
- 授权协议: MPL-2.0
- 更新时间: 2020-08-07