承接 orisai/exceptions 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

orisai/exceptions

最新稳定版本:1.1.5

Composer 安装命令:

composer require orisai/exceptions

包简介

Exceptions designed for static analysis and easy usage

README 文档

README

Orisai
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.51k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 8
  • 依赖项目数: 28
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 未知