error.rs 568 B

1234567891011121314151617
  1. generate_error_module!(
  2. generate_error_types!(MailError, MailErrorKind,
  3. RefCreationError => "Error creating a reference to a file/directory",
  4. RefHandlingError => "Error while handling the internal reference object",
  5. MailParsingError => "Error while parsing mail",
  6. FetchByHashError => "Error fetching mail from Store by hash",
  7. FetchError => "Error fetching mail from Store",
  8. IOError => "IO Error"
  9. );
  10. );
  11. pub use self::error::MailError;
  12. pub use self::error::MailErrorKind;
  13. pub use self::error::MapErrInto;