Module validation_collector

Module validation_collector 

Source
Expand description

This module contains structures and traits for working with validation errors.

Structs§

ValidateErrorCollector
A struct for collecting validation errors in a list.
ValidateErrorStore
ValidateErrorStore is a structure used to store validation errors, where each error consists of a String key and an associated Box<dyn LocaleMessage> value. The key represents an identifier (e.g., field name or error code), while the LocaleMessage represents a localizable message for the associated validation error.

Traits§

AsValidateErrorStore
A trait that provides an abstraction to interact with and retrieve validation-related data such as error stores, error collectors, and original messages.