1use thiserror::Error; 2 3#[derive(Debug, PartialEq, Eq, Clone, Error)] 4pub enum ParserError { 5 #[error("{0}")] 6 NodeError(String), 7 8 #[error("Incomplete parser output")] 9 Incomplete, 10}