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 ValidateErrorStoreis a structure used to store validation errors, where each error consists of aStringkey and an associatedBox<dyn LocaleMessage>value. The key represents an identifier (e.g., field name or error code), while theLocaleMessagerepresents 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.