imag/libimagentryedit/src/error.rs

14 lines
396 B
Rust
Raw Normal View History

2016-08-09 10:32:26 +00:00
generate_error_module!(
generate_error_types!(EditError, EditErrorKind,
2016-08-09 10:35:00 +00:00
IOError => "IO Error",
NoEditor => "No editor set",
2016-08-09 10:35:00 +00:00
ProcessExitFailure => "Process did not exit properly",
InstantiateError => "Instantation error"
2016-08-09 10:32:26 +00:00
);
);
pub use self::error::EditError;
pub use self::error::EditErrorKind;
pub use self::error::MapErrInto;