MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / has_errors

Method has_errors

crates/core/src/plugin.rs:140–144  ·  view source on GitHub ↗

Returns `true` when the report contains at least one error diagnostic.

(&self)

Source from the content-addressed store, hash-verified

138impl ConfigReport {
139 /// Returns `true` when the report contains at least one error diagnostic.
140 pub fn has_errors(&self) -> bool {
141 self.diagnostics
142 .iter()
143 .any(|diag| diag.level == DiagnosticLevel::Error)
144 }
145}
146
147/// One validation or compatibility diagnostic.

Callers 4

newMethod · 0.80
initialize_plugins_exactFunction · 0.80
validate_configFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected