Module ErrorValidation

This file detects any errors in the validationResult and sends them to the next location Our custom error handler will then throw the error If there is no error we continue with our code execution and move on to the controller

Properties

Properties

export=: {
    validationErrorHandler: ((req: any, res: any, next: any) => any);
}

Type declaration

  • validationErrorHandler: ((req: any, res: any, next: any) => any)
      • (req: any, res: any, next: any): any
      • Parameters

        • req: any
        • res: any
        • next: any

        Returns any

Generated using TypeDoc