pub fn validate_config(
config: &Config,
) -> Result<Vec<ValidationWarning>, ValidationError>Expand description
Validate configuration and return warnings or first error
Returns Ok(warnings) if validation passes (possibly with non-fatal warnings). Returns Err(error) on the first fatal validation error encountered.
Validation is performed in order, stopping at the first error.