added few documentation strings

This commit is contained in:
Thomas Eppers 2023-02-17 16:23:01 +01:00
parent 308fa8dbb8
commit a517c7d6d0

View File

@ -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,