marko / errors
Marko Framework Error Handling
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
- marko/core: 0.0.1
Requires (Dev)
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-03-25 21:07:22 UTC
README
Interfaces for error handling — defines how errors are captured and structured, not how they're displayed.
Installation
composer require marko/errors
Note: You typically install an implementation package (like marko/errors-simple) which requires this automatically.
Quick Example
use Marko\Errors\ErrorReport; use Marko\Errors\Severity; $report = ErrorReport::fromThrowable($exception, Severity::Error);
Documentation
Full usage, API reference, and examples: marko/errors