Skip to main content

validate_skip_values

Function validate_skip_values 

Source
pub fn validate_skip_values(
    skip: &[String],
    valid: &[&str],
) -> Result<(), String>
Expand description

Validate that all skip values are in the allowed set.

Returns Ok(()) if all values are valid, or Err with a descriptive message listing the invalid value(s) and the full set of valid options.