Skip to main content

validate_config

Function validate_config 

Source
pub fn validate_config(config: &Config) -> Result<(), Vec<String>>
Expand description

Validate a Config and return a list of human-readable error messages.

Should be called before dispatching any command that reaches the backend (analyze, serve, forge). The doctor command bypasses this and does its own reporting so users can inspect a broken config.