use thiserror::Error;
#[derive(Debug, Error, PartialEq)]
pub enum CypherError {
#[error("parse error: {0}")]
ParseError(String),
#[error("unsupported clause or feature: {0}")]
Unsupported(String),
#[error("invalid query: {0}")]
InvalidQuery(String),
#[error("type mismatch: {0}")]
TypeMismatch(String),
#[error("division by zero")]
DivisionByZero,
#[error("runtime error: {0}")]
RuntimeError(String),
}