Flag indicating whether any validation errors have been reported
Collection of all reported validation errors
Report a validation error by adding it to the errors collection.
The human-readable error message
The name of the validation rule that failed
The field context containing field path and metadata
Optionalmeta: Record<string, any>Optional additional metadata about the error
Creates and returns a ValidationError instance containing all reported errors. This method is called by the validation engine when validation fails.
A ValidationError containing all collected error messages
SimpleErrorReporter collects validation error messages as an array of objects. It's the default error reporter used by Vine and provides a simple, structured format for validation errors.
Each error object contains:
Example