use thiserror::Error;
#[derive(Debug, Error)]
pub enum LLMError {
#[error("Run not found: {0}")]
RunNotFound(String),
#[error("Prompt not found: {0}")]
PromptNotFound(String),
#[error("Evaluation failed: {0}")]
EvaluationFailed(String),
#[error("Invalid metric: {0}")]
InvalidMetric(String),
#[error("LLM error: {0}")]
Internal(String),
}
pub type Result<T> = std::result::Result<T, LLMError>;