Options
All
  • Public
  • Public/Protected
  • All
Menu

Module framework/express

Index

Functions

  • errorHandler(): ((err: any, req: Request, res: Response, next: NextFunction) => Promise<void>)
  • Returns ((err: any, req: Request, res: Response, next: NextFunction) => Promise<void>)

      • (err: any, req: Request, res: Response, next: NextFunction): Promise<void>
      • Parameters

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

        Returns Promise<void>

  • middleware(): ((req: Request, res: Response, next: NextFunction) => Promise<void>)
  • Returns ((req: Request, res: Response, next: NextFunction) => Promise<void>)

      • (req: Request, res: Response, next: NextFunction): Promise<void>
      • Parameters

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

        Returns Promise<void>

Generated using TypeDoc