use crate::traits::Vocabulary;
#[derive(Debug, thiserror::Error, Clone, PartialEq, Eq)]
pub enum NodeError<V: Vocabulary> {
#[error("The node with id {0:?} does not exist.")]
UnknownNodeId(V::SourceSymbol),
#[error("The node with symbol {0:?} does not exist.")]
UnknownNodeSymbol(V::DestinationSymbol),
}