Add error types for libimagentryselect
This commit is contained in:
parent
82f08c6021
commit
f91d8fe72a
|
@ -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;
|
||||||
|
|
|
@ -17,6 +17,7 @@ extern crate log;
|
||||||
extern crate interactor;
|
extern crate interactor;
|
||||||
|
|
||||||
extern crate libimagstore;
|
extern crate libimagstore;
|
||||||
|
#[macro_use]
|
||||||
extern crate libimagerror;
|
extern crate libimagerror;
|
||||||
|
|
||||||
pub mod ui;
|
pub mod ui;
|
||||||
|
|
Loading…
Reference in New Issue