mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
rework select_folder error handling (thanks @flub and @link2xt for helping along)
This commit is contained in:
committed by
Floris Bruynooghe
parent
74a4691f29
commit
2dbef704e9
@@ -54,6 +54,12 @@ pub enum Error {
|
||||
ImapInTeardown,
|
||||
#[fail(display = "No IMAP Connection established")]
|
||||
ImapNoConnection,
|
||||
/*
|
||||
#[fail(display = "IMAP Connection lost: {:?}", _0)]
|
||||
ImapConnectionLost(String),
|
||||
#[fail(display = "Failed to obtain Imap Session")]
|
||||
CouldNotObtainImapSession,
|
||||
*/
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
Reference in New Issue
Block a user