diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-04-10 17:52:12 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-04-16 15:37:01 +0200 |
commit | f85faca6b335e5bfb20de6cef6795163123b566d (patch) | |
tree | 76a1dc4626fd1638a46a2097c3c8dd3e1210706a /libimaglink | |
parent | 23049d02c68af0efe2027a8d25bba602d5163bc4 (diff) |
Add StoreWriteError error type
Diffstat (limited to 'libimaglink')
-rw-r--r-- | libimaglink/src/error.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libimaglink/src/error.rs b/libimaglink/src/error.rs index 7464b864..9dd12206 100644 --- a/libimaglink/src/error.rs +++ b/libimaglink/src/error.rs @@ -13,6 +13,7 @@ pub enum LinkErrorKind { InternalConversionError, InvalidUri, StoreReadError, + StoreWriteError, } fn link_error_type_as_str(e: &LinkErrorKind) -> &'static str { @@ -37,6 +38,9 @@ fn link_error_type_as_str(e: &LinkErrorKind) -> &'static str { &LinkErrorKind::StoreReadError => "Store read error", + + &LinkErrorKind::StoreWriteError + => "Store write error", } } |