added few documentation strings
This commit is contained in:
parent
308fa8dbb8
commit
a517c7d6d0
@ -2,9 +2,11 @@ use thiserror::Error;
|
|||||||
|
|
||||||
#[derive(Debug, Error)]
|
#[derive(Debug, Error)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
|
/// no valid tag found
|
||||||
#[error("Expected a tag")]
|
#[error("Expected a tag")]
|
||||||
NoTagFound,
|
NoTagFound,
|
||||||
|
|
||||||
|
/// input that can't be interpreted
|
||||||
#[error("Unexpected input")]
|
#[error("Unexpected input")]
|
||||||
MisformedInput,
|
MisformedInput,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user