Add RefToDisplayError kind

This commit is contained in:
Matthias Beyer 2016-07-14 20:25:30 +02:00
parent d22b7583ce
commit 538e983686

View file

@ -13,6 +13,7 @@ generate_error_module!(
PathCanonicalizationError => "Path cannot be canonicalized", PathCanonicalizationError => "Path cannot be canonicalized",
TypeConversionError => "Couldn't convert types", TypeConversionError => "Couldn't convert types",
RefToDisplayError => "Cannot convert Ref to string to show it to user",
RefNotInStore => "Ref/StoreId does not exist in store", RefNotInStore => "Ref/StoreId does not exist in store",
@ -26,4 +27,5 @@ generate_error_module!(
pub use self::error::RefError; pub use self::error::RefError;
pub use self::error::RefErrorKind; pub use self::error::RefErrorKind;
pub use self::error::MapErrInto;