nsp-error-handler
v1.0.8
Published
Generic Error handler developed as an npm package
Downloads
3
Readme
error-handler
Generic Error handler developed as an npm package
This can be used as a industry standard package for all the microservices for error object, custom error, custom information logging.
Logger js file provides a way to logging the error or information. This file is to be edited for the business logic as per the need.
error-code-mappings json file contains all the generic error codes for the HTTP status codes.
npm package - https://www.npmjs.com/package/nsp-error-handler github repo - https://github.com/MuthuPrakash/error-handler/