Add error types for libimagentryselect

This commit is contained in:
Matthias Beyer 2016-08-28 13:00:04 +02:00
parent 82f08c6021
commit f91d8fe72a
2 changed files with 14 additions and 0 deletions

View File

@ -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;

View File

@ -17,6 +17,7 @@ extern crate log;
extern crate interactor;
extern crate libimagstore;
#[macro_use]
extern crate libimagerror;
pub mod ui;