imag/libimagentryedit/src/error.rs

13 lines
396 B
Rust

generate_error_module!(
generate_error_types!(EditError, EditErrorKind,
IOError => "IO Error",
NoEditor => "No editor set",
ProcessExitFailure => "Process did not exit properly",
InstantiateError => "Instantation error"
);
);
pub use self::error::EditError;
pub use self::error::EditErrorKind;
pub use self::error::MapErrInto;