charm/error

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

1.0.0 2021-09-09 10:36 UTC

This package is auto-updated.

Last update: 2024-11-29 06:29:47 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.