From 538e98368680496955d0464c2a3997dc99bf7891 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 14 Jul 2016 20:25:30 +0200 Subject: [PATCH] Add RefToDisplayError kind --- libimagref/src/error.rs | 2 ++ 1 file changed, 2 insertions(+) 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;