summaryrefslogtreecommitdiffstats
path: root/libimagbookmark
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-08 00:11:27 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-08 00:11:27 +0200
commitf2cc233c37b002ccecfd8f132998e712fd021c89 (patch)
treefae7c25e54cdf6539032cd6d91102faa5c46c69c /libimagbookmark
parent0714d58db065c3242e7593f04da8e26220e1dfec (diff)
Add error kind if collection cannot be found
Diffstat (limited to 'libimagbookmark')
-rw-r--r--libimagbookmark/src/error.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/libimagbookmark/src/error.rs b/libimagbookmark/src/error.rs
index 7f80e1a9..e13fbe50 100644
--- a/libimagbookmark/src/error.rs
+++ b/libimagbookmark/src/error.rs
@@ -1,7 +1,8 @@
generate_error_module!(
generate_error_types!(BookmarkError, BookmarkErrorKind,
- StoreReadError => "Store read error",
- LinkError => "Link error"
+ StoreReadError => "Store read error",
+ LinkError => "Link error",
+ CollectionNotFound => "Link-Collection not found"
);
);