2016-08-09 13:38:35 +00:00
|
|
|
generate_error_module!(
|
|
|
|
generate_error_types!(MailError, MailErrorKind,
|
2016-09-21 16:13:53 +00:00
|
|
|
RefCreationError => "Error creating a reference to a file/directory",
|
2016-09-21 17:25:25 +00:00
|
|
|
RefHandlingError => "Error while handling the internal reference object",
|
2016-09-21 16:14:11 +00:00
|
|
|
MailParsingError => "Error while parsing mail",
|
2016-09-21 17:11:21 +00:00
|
|
|
|
|
|
|
FetchByHashError => "Error fetching mail from Store by hash",
|
|
|
|
FetchError => "Error fetching mail from Store",
|
2016-08-09 13:38:35 +00:00
|
|
|
IOError => "IO Error"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
pub use self::error::MailError;
|
|
|
|
pub use self::error::MailErrorKind;
|
|
|
|
pub use self::error::MapErrInto;
|
|
|
|
|