Function flatten_errors

Source
pub fn flatten_errors(
    errors: &ValidationErrors,
) -> Vec<(u16, String, &ValidationError)>
Expand description

Helper function for error extraction and formatting. Return Vec of tuples where first element is full field path (separated by dot) and second is error.