use thiserror::Error;
#[derive(Error, Debug)]
pub enum GenerationError {
#[error("Unsupported schema format for data generation: '{format}'. Valid formats are: 'auto', 'shex', 'shacl'")]
UnsupportedGenerationSchemaFormat { format: String },
#[error("Unsupported schema input type for data generation: '{input}'. Only file paths are supported.")]
UnsupportedGenerationSchemaInput { input: String },
#[error("Failed to load generator configuration: {error}")]
WrongGeneratorConfig { error: String },
#[error("Failed to create data generator: {error}")]
FailedCreatingDataGenerator { error: String },
#[error("Failed to load schema for data generation: {error}")]
FailedLoadingSchema { error: String },
#[error("Failed to generate data: {error}")]
FailedGeneratingData { error: String },
}