Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
Error represents a custom validation error type. It contains a general validation message and a list of fields that are failed during validation.
type Errors ¶
type Errors []Error
Errors conforms to the error protocol and aggregates all the validation errors at once into one error
func IsValidationErrors ¶
IsValidationErrors returns true iff the root cause of the error is validation errors
Click to show internal directories.
Click to hide internal directories.