express-handler-errors
TypeScript icon, indicating that this package has built-in type declarations

2.3.1 • Public • Published

Commitizen friendly semantic-release CI Coverage Status

Express Handler Errors

Middleware to send custom errors in yours requests

How to use

configure

prisma

You can pass a winston instance to log errors

logger

In your service

service

implement your own error functions and pass by parameter

  • Error classes

config class

  • Configure Hadler on express

config functions

/express-handler-errors/

    Package Sidebar

    Install

    npm i express-handler-errors

    Weekly Downloads

    73

    Version

    2.3.1

    License

    ISC

    Unpacked Size

    284 kB

    Total Files

    30

    Last publish

    Collaborators

    • vitordelfino