Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 577 Bytes

File metadata and controls

24 lines (15 loc) · 577 Bytes

marko/errors

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