summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-05-04 13:37:59 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-05-04 17:34:38 +0200
commitc2f13185c4c4ff4484fdecbaba4edf0dc8fb9436 (patch)
treeca546f10c2cc17b193a0f115681e9a39acdc25bb
parent083dcb05294214cb6ab870aa8ab9118e7bbcb2ad (diff)
Add error kinds documentation
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 7be479b..78eaddc 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -10,7 +10,10 @@ use std::fmt::{Display, Formatter};
///
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum TaskErrorKind {
+ /// Error kind indicating that the JSON parser failed
ParserError,
+
+ /// Error kind indicating that the Status of a task is missing
NoStatus,
}