pub fn is_validation_error(error: &Error) -> bool
Report whether the error classifies as a validation failure.