summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index d772e5e..cf34910 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -10,6 +10,12 @@ error_chain! {
description("Parser error")
display("{}", desc)
}
+
+ NotAVCard {
+ description("Input is not a valid VCard")
+ display("Passed content string is not a VCard")
+ }
+
}