marko/errors

Marko Framework Error Handling

Maintainers

Package info

github.com/marko-php/marko-errors

pkg:composer/marko/errors

Statistics

Installs: 6

Dependents: 3

Suggesters: 0

Stars: 0

0.0.1 2026-03-25 17:53 UTC

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