Validate v1.3.0 Validate.Validator
Provides the Error and Arg structs, as well as helpers for validation responses
Link to this section Summary
Functions
Used in validators to return an error with a message
Used in validators to prevent further validation for a field but treated as a success
Used in validators to prevent further validation for a field while also adding an error message
Used in validators to indicate validation was successful for a field
Link to this section Functions
Link to this function
error(message)
Used in validators to return an error with a message
Link to this function
halt()
Used in validators to prevent further validation for a field but treated as a success
Link to this function
halt(message)
Used in validators to prevent further validation for a field while also adding an error message
Link to this function
success(value)
Used in validators to indicate validation was successful for a field