pub fn load(path: &Path) -> Result<PolicyConfig, TuiError>Expand description
Load policies.toml from path.
- File absent → returns
PolicyConfig { no_policies_file: true, .. }, no error. - Syntax error → returns collected errors in
parse_errors; valid rules are kept.