Add RefToDisplayError kind
This commit is contained in:
parent
d22b7583ce
commit
538e983686
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue