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

Method errors

validify/src/error.rs:234–236  ·  view source on GitHub ↗

Returns a slice of all the errors that ocurred during validation

(&self)

Source from the content-addressed store, hash-verified

232
233 /// Returns a slice of all the errors that ocurred during validation
234 pub fn errors(&self) -> &[ValidationError] {
235 &self.0
236 }
237
238 pub fn add(&mut self, error: ValidationError) {
239 self.0.push(error)

Calls

no outgoing calls