MCPcopy Index your code
hub / github.com/biblius/validify / field_errors

Method field_errors

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

Source from the content-addressed store, hash-verified

248 }
249
250 pub fn field_errors(&self) -> Vec<ValidationError> {
251 self.0
252 .iter()
253 .filter(|err| matches!(err, ValidationError::Field { .. }))
254 .cloned()
255 .collect()
256 }
257
258 pub fn schema_errors(&self) -> Vec<ValidationError> {
259 self.0

Callers 15

bad_url_fails_validationFunction · 0.80
can_specify_code_for_urlFunction · 0.80
biggest_of_boisFunction · 0.80
errors_bad_ipFunction · 0.80
errors_bad_ip_v4Function · 0.80
errors_bad_ip_v6Function · 0.80

Calls 1

collectMethod · 0.80

Tested by 15

bad_url_fails_validationFunction · 0.64
can_specify_code_for_urlFunction · 0.64
biggest_of_boisFunction · 0.64
errors_bad_ipFunction · 0.64
errors_bad_ip_v4Function · 0.64
errors_bad_ip_v6Function · 0.64