#[derive(Debug)]
pub enum GraphError {
ConnectError,
}
impl std::error::Error for GraphError {}
impl std::fmt::Display for GraphError {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
GraphError::ConnectError => write!(f, "unable to connect to neo4J."),
}
}
}