0.2.4 ā¢ Published 2 years ago
@kangojs/error-handler v0.2.4
š¤ About
This package provides a way to centrally handle errors in your Express application.
ā ļø This package is under development and isn't stable. I'm still testing and refining it right now so interfaces and functionality may change at any time.
š„ Features
- Easily add global error handling middleware with
useErrorHandlerMiddleware
. - Keep HTTP logic isolated by throwing generic errors in your services and mapping them to HTTP responses in the error handler.
š Getting Started
Install the npm package:
npm install @kangojs/error-handler
š· Usage
Documentation will be written once features and interfaces are stable and I make a v1.0 release
š§° Other KangoJS Packages
For all available KangoJS packages check out this list.
š¬ Feedback & Contributions
I'm open to feedback and contributions. Feel free to raise an issue or suggest improvements and features.
š License
This project is licensed under the terms of the MIT license.