summaryrefslogtreecommitdiffstats
path: root/libimagentryselect/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libimagentryselect/src/error.rs')
-rw-r--r--libimagentryselect/src/error.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/libimagentryselect/src/error.rs b/libimagentryselect/src/error.rs
new file mode 100644
index 00000000..767779e6
--- /dev/null
+++ b/libimagentryselect/src/error.rs
@@ -0,0 +1,13 @@
+generate_error_module!(
+ generate_error_types!(EntrySelectError, EntrySelectErrorKind,
+ CLIError => "Error on commandline",
+ IdMissingError => "Commandline: ID missing",
+ StoreIdParsingError => "Error while parsing StoreId",
+ IdSelectingError => "Error while selecting id"
+ );
+);
+
+pub use self::error::EntrySelectError;
+pub use self::error::EntrySelectErrorKind;
+pub use self::error::MapErrInto;
+