✨ feat(lib): introduce Result type alias for error handling
- add `Result` type alias for cleaner error handling throughout the crate
This commit is contained in:
committed by
Jeremiah Russell
parent
3aa76a20a8
commit
80c8bbc863
@@ -24,3 +24,6 @@ pub use message_list::MessageList;
|
||||
pub use retention::MessageAge;
|
||||
pub use retention::Retention;
|
||||
pub use trash::Trash;
|
||||
|
||||
/// Type alias for result with crate Error
|
||||
pub type Result<O> = std::result::Result<O, Error>;
|
||||
|
||||
Reference in New Issue
Block a user