@nhtio/lucid-resourceful/integration/middlewares/odata_error
An Adonis middleware which intercepts errors thrown during the request lifecycle and formats the responses in a consistent manner meant to be easily consumed by clients.
Classes
| Class | Description |
|---|---|
| default | AdonisJS middleware that intercepts errors thrown during HTTP requests and formats the responses in a consistent, client-friendly manner. Supports multiple error types including Vine validation errors, Joi validation errors, framework exceptions, and generic errors. |