Skip to main content

validate

Function validate 

Source
pub fn validate(cfg: &GroupConfig) -> GroupResult<()>
Expand description

Validate the structural consistency of cfg.

Collects all errors before returning so the caller sees the complete picture rather than having to fix and re-run for each problem in turn.

Returns Ok(()) when no problems are found.