more detailed parse errors when decoding with flat
This commit is contained in:
@@ -18,6 +18,8 @@ pub enum Error {
|
||||
DecodeChar(u32),
|
||||
#[error("{0}")]
|
||||
Message(String),
|
||||
#[error("Parse error: So far we parsed {0} and we ran into error: {1}")]
|
||||
ParseError(String, anyhow::Error),
|
||||
#[error(transparent)]
|
||||
Custom(#[from] anyhow::Error),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user