mirror of
https://github.com/rustmailer/rustmailer.git
synced 2026-09-09 00:01:34 +00:00
feat: Add Gmail API sync workflow and integrate related data models
This commit is contained in:
@@ -48,6 +48,8 @@ pub enum ErrorCode {
|
||||
SmtpConnectionFailed = 50040,
|
||||
MailBoxNotCached = 50050,
|
||||
AutoconfigFetchFailed = 50060,
|
||||
GmailApiCallFailed = 50070,
|
||||
GmailApiInvalidHistoryId = 50080,
|
||||
|
||||
// Message queue errors (60000–60999)
|
||||
NatsRequestFailed = 60000,
|
||||
@@ -83,6 +85,8 @@ impl ErrorCode {
|
||||
ErrorCode::InternalError
|
||||
| ErrorCode::AutoconfigFetchFailed
|
||||
| ErrorCode::ImapCommandFailed
|
||||
| ErrorCode::GmailApiCallFailed
|
||||
| ErrorCode::GmailApiInvalidHistoryId
|
||||
| ErrorCode::ImapUnexpectedResult
|
||||
| ErrorCode::HttpResponseError
|
||||
| ErrorCode::NatsRequestFailed
|
||||
|
||||
Reference in New Issue
Block a user