Type alias ValidationFailedHandler

ValidationFailedHandler: ((error, request, response) => any)

Type declaration

    • (error, request, response): any
    • A handler, that is executed, if data is invalid.

      Parameters

      • error: JoiValidationError

        The error information.

      • request: IHttpRequest

        The request context.

      • response: IHttpResponse

        The response context.

      Returns any

Generated using TypeDoc