Add error types for libimagentryselect
This commit is contained in:
parent
82f08c6021
commit
f91d8fe72a
2 changed files with 14 additions and 0 deletions
13
libimagentryselect/src/error.rs
Normal file
13
libimagentryselect/src/error.rs
Normal 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;
|
||||
|
|
@ -17,6 +17,7 @@ extern crate log;
|
|||
extern crate interactor;
|
||||
|
||||
extern crate libimagstore;
|
||||
#[macro_use]
|
||||
extern crate libimagerror;
|
||||
|
||||
pub mod ui;
|
||||
|
|
Loading…
Reference in a new issue