pub fn parse_content(
content: &str,
path: &Path,
) -> Result<PolicyConfig, TuiError>Expand description
Parse TOML content as a policy config; path is used only for error messages.
Returns Err only for fatal top-level parse failures.
Rule-level failures are collected in PolicyConfig::parse_errors.