MCPcopy Create free account
hub / github.com/biblius/validify / schema_errors

Method schema_errors

validify/src/error.rs:258–264  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

256 }
257
258 pub fn schema_errors(&self) -> Vec<ValidationError> {
259 self.0
260 .iter()
261 .filter(|err| matches!(err, ValidationError::Schema { .. }))
262 .cloned()
263 .collect()
264 }
265}
266
267impl std::error::Error for ValidationErrors {

Calls 1

collectMethod · 0.80