Skip to main content

first_error

Function first_error 

Source
pub fn first_error(
    errors: impl IntoIterator<Item = Option<Arc<str>>>,
) -> Option<Arc<str>>
Expand description

Returns the first validation error (if any).