diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-07-14 20:25:30 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-07-14 20:26:22 +0200 |
commit | 538e98368680496955d0464c2a3997dc99bf7891 (patch) | |
tree | e4a53672edb3c555a288242bdb251ff66aaf6f7b /libimagref | |
parent | d22b7583ceea3f7f23bc3d4213b84e7746ef1ef0 (diff) |
Add RefToDisplayError kind
Diffstat (limited to 'libimagref')
-rw-r--r-- | libimagref/src/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libimagref/src/error.rs b/libimagref/src/error.rs index 4fee1429..fdd6314a 100644 --- a/libimagref/src/error.rs +++ b/libimagref/src/error.rs @@ -13,6 +13,7 @@ generate_error_module!( PathCanonicalizationError => "Path cannot be canonicalized", TypeConversionError => "Couldn't convert types", + RefToDisplayError => "Cannot convert Ref to string to show it to user", RefNotInStore => "Ref/StoreId does not exist in store", @@ -26,4 +27,5 @@ generate_error_module!( pub use self::error::RefError; pub use self::error::RefErrorKind; +pub use self::error::MapErrInto; |