charm/error

Just an interface, a trait and two exception classes. Ancestor of all charm/* exception classes.

Maintainers

Package info

bitbucket.org/ennerd/charm-error

pkg:composer/charm/error

Statistics

Installs: 148

Dependents: 14

Suggesters: 0

1.0.0 2021-09-09 10:36 UTC

This package is auto-updated.

Last update: 2026-03-01 00:14:41 UTC


README

Just an interface, a trait, an exception class and an error class. They are the ancestors of all other exceptions in the Charm\ namespace.

The exception interfaces are API oriented (they extend \JsonSerializable) and provide a default HTTP status code and message - which is the reason they are shared between other Charm\ libraries.