use thiserror::Error;
#[derive(Debug, Error)]
pub enum VisualizationError {
#[error("Graph DB error: {0}")]
GraphDb(#[from] cognee_graph::GraphDBError),
#[error("JSON error: {0}")]
Json(#[from] serde_json::Error),
#[error("IO error: {0}")]
Io(#[from] std::io::Error),
#[error("Could not determine home directory for default output path")]
NoHomeDir,
}