pub fn validate_config_value(parts: &[&str], value: &Value) -> CoreResult<()>Expand description
Validate a config value for known keys that require enum values.
Returns Ok(()) if the key is not constrained or the value is valid.
Returns Err with a descriptive message if the value is invalid.
ยงErrors
Returns CoreError::Validation if the value does not match the allowed enum values.