imag/libimagentrylist/src/error.rs

15 lines
418 B
Rust
Raw Normal View History

generate_error_module!(
generate_error_types!(ListError, ListErrorKind,
2016-08-02 14:28:11 +00:00
IOError => "IO Error",
FormatError => "FormatError",
EntryError => "EntryError",
IterationError => "IterationError",
CLIError => "No CLI subcommand for listing entries"
);
);
2016-03-26 13:41:34 +00:00
pub use self::error::ListError;
pub use self::error::ListErrorKind;
2016-08-02 14:28:21 +00:00
pub use self::error::MapErrInto;