use thiserror::Error; use super::MapKey; #[derive(Error, Debug)] pub enum Error { #[error("The node at key '{}' already exists!", MapKey::display(&.0))] NodeExits(Vec), }