Type alias ErrorHandler

ErrorHandler: ((error, req, res) => Promise<void> | void)

Type declaration

    • (error, req, res): Promise<void> | void
    • Parameters

      • error: any
      • req: Request
      • res: Response

      Returns Promise<void> | void

Generated using TypeDoc