Expand description
This module contains structures and traits for working with validation errors.
Structs§
- Validate
Error Collector - A struct for collecting validation errors in a list.
- Validate
Error Store ValidateErrorStore
is a structure used to store validation errors, where each error consists of aString
key and an associatedBox<dyn LocaleMessage>
value. The key represents an identifier (e.g., field name or error code), while theLocaleMessage
represents a localizable message for the associated validation error.
Traits§
- AsValidate
Error Store - A trait that provides an abstraction to interact with and retrieve validation-related data such as error stores, error collectors, and original messages.