use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("JSON error: {0}")]
Json(#[from] serde_json::Error),
#[error("unsupported MCP tool catalog format: {0}")]
InvalidCatalogFormat(String),
#[error("invalid evaluation suite: {0}")]
InvalidEvalSuite(String),
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),
}
pub type Result<T> = std::result::Result<T, Error>;