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",
|
2016-09-08 15:44:21 +00:00
|
|
|
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;
|
|
|
|
|