pub fn has_errors(warnings: &[ConfigWarning]) -> bool
Check if there are any errors in the warnings list.