express-rest-decorators - v1.0.0-rc.2
    Preparing search index...

    Interface ExpressErrorMiddlewareInterface

    Class-form ERROR middleware contract; mounted iff use.length === 4.

    interface ExpressErrorMiddlewareInterface {
        use(
            err: unknown,
            req: Request,
            res: Response,
            next: NextFunction,
        ): void | Promise<void>;
    }
    Index

    Methods

    Methods

    • Parameters

      • err: unknown
      • req: Request
      • res: Response
      • next: NextFunction

      Returns void | Promise<void>