aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index fff59d4..cf01895 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -24,6 +24,7 @@ pub enum DeserializeError {
}
#[derive(Debug)]
+// TODO: thiserror
pub enum Error {
ReadError(std::io::Error),
Utf8Error(Utf8Error),
@@ -41,6 +42,8 @@ pub enum Error {
IncorrectName(Name),
DeserializeError(String),
Deserialize(DeserializeError),
+ /// root element end tag already processed
+ RootElementEnded,
}
impl From<DeserializeError> for Error {