catlog::validate

Function unwrap_errors

Source
pub fn unwrap_errors<Error>(result: Result<(), NonEmpty<Error>>) -> Vec<Error>
Expand description

Unwrap Result with validation errors into a list of errors.