diff --git a/src/error.rs b/src/error.rs index c286c10..7839a8c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,9 +2,11 @@ use thiserror::Error; #[derive(Debug, Error)] pub enum Error { + /// no valid tag found #[error("Expected a tag")] NoTagFound, + /// input that can't be interpreted #[error("Unexpected input")] MisformedInput,