express-nemo-error-response

1.3.1 • Public • Published

express-nemo-error-response

A middleware for express to add error response

Options

Name Required Default value Description
errorMessageTemplate func A function receiving the error, request and response object, returning a error response message to be sent as the response body.

Package Sidebar

Install

npm i express-nemo-error-response

Weekly Downloads

17

Version

1.3.1

License

MIT

Unpacked Size

6.44 kB

Total Files

6

Last publish

Collaborators

  • looooopy
  • robertstigsson
  • jbarath
  • sohritz
  • mattias800