1//! Validation error types for research artifacts. 2 3/// Validation errors 4#[derive(Debug, Clone, thiserror::Error)] 5pub enum ValidationError { 6 #[error("Invalid ORCID format: {0}")] 7 InvalidOrcid(String), 8 #[error("Invalid ROR ID format: {0}")] 9 InvalidRorId(String), 10}