Ninety-nine Pitchers of Malt

    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

    Install

    npm i express-handler-errors

    DownloadsWeekly Downloads

    76

    Version

    2.3.1

    License

    ISC

    Unpacked Size

    284 kB

    Total Files

    30

    Last publish

    Collaborators

    • vitordelfino