mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 08:56:29 +03:00
Job error handling refactoring
This commit is contained in:
@@ -46,6 +46,9 @@ pub enum Error {
|
||||
#[fail(display = "Building invalid Email: {:?}", _0)]
|
||||
LettreError(#[cause] lettre_email::error::Error),
|
||||
|
||||
#[fail(display = "SMTP error: {:?}", _0)]
|
||||
SmtpError(#[cause] async_smtp::error::Error),
|
||||
|
||||
#[fail(display = "FromStr error: {:?}", _0)]
|
||||
FromStr(#[cause] mime::FromStrError),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user