marko/errors

Marko Framework Error Handling

Maintainers

Package info

github.com/marko-php/marko-errors

pkg:composer/marko/errors

Statistics

Installs: 13

Dependents: 3

Suggesters: 0

Stars: 0

0.1.0 2026-03-26 16:28 UTC

This package is auto-updated.

Last update: 2026-03-30 14:09:39 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