marko/errors-simple
最新稳定版本:0.6.0
Composer 安装命令:
composer require marko/errors-simple
包简介
Simple error handling and display for the Marko framework
README 文档
README
The default error handler --- catches exceptions and displays them with full context and fix suggestions.
Installation
composer require marko/errors-simple
Quick Example
use Marko\Core\Exceptions\MarkoException; // Throw rich exceptions --- the handler displays context and fix suggestions automatically throw new MarkoException( message: 'Configuration invalid', context: 'Loading payment gateway settings', suggestion: 'Check that API_KEY is set in your .env file', );
Documentation
Full usage, API reference, and examples: marko/errors-simple
统计信息
- 总下载量: 556
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24