marko / errors
Marko Framework Error Handling
0.16.0
2026-11-30 21:39 UTC
Requires
- php: ^8.5.13
- marko/core: 0.16.0
Requires (Dev)
- marko/testing: 0.16.0
- pestphp/pest: ^5.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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, $clock->now());
Documentation
Full usage, API reference, and examples: marko/errors