#[derive(Debug, Clone, thiserror::Error)]
pub enum MerkleTreeError {
#[error("Serialization of a merkle tree failed")]
SerializationError,
#[cfg(feature = "future_snark")]
#[allow(dead_code)]
#[error("Path does not verify against root")]
PathInvalid(Vec<u8>),
#[error("Batch path does not verify against root")]
BatchPathInvalid(Vec<u8>),
}