| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\Mail\Enums; |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | class ErrorCodes |
| 16: | { |
| 17: | public const CannotConnectToMailServer = 4001; |
| 18: | public const CannotLoginCredentialsIncorrect = 4002; |
| 19: | public const FolderAlreadyExists = 4003; |
| 20: | public const FolderNameContainsDelimiter = 4004; |
| 21: | public const CannotRenameNonExistenFolder = 4005; |
| 22: | public const CannotGetMessage = 4006; |
| 23: | public const CannotMoveMessage = 4007; |
| 24: | public const CannotMoveMessageQuota = 4008; |
| 25: | public const CannotSendMessage = 4009; |
| 26: | public const CannotSendMessageInvalidRecipients = 4010; |
| 27: | public const CannotSendMessageToRecipients = 4011; |
| 28: | public const CannotSendMessageToExternalRecipients = 4012; |
| 29: | public const CannotSaveMessage = 4013; |
| 30: | public const CannotSaveMessageToSentItems = 4014; |
| 31: | public const CannotUploadMessage = 4015; |
| 32: | public const CannotUploadMessageFileNotEml = 4016; |
| 33: | public const DomainIsNotAllowedForLoggingIn = 4017; |
| 34: | public const TenantQuotaExceeded = 4018; |
| 35: | |
| 36: | |
| 37: | |
| 38: | |
| 39: | protected $aConsts = [ |
| 40: | 'CannotConnectToMailServer' => self::CannotConnectToMailServer, |
| 41: | 'CannotLoginCredentialsIncorrect' => self::CannotLoginCredentialsIncorrect, |
| 42: | 'FolderAlreadyExists' => self::FolderAlreadyExists, |
| 43: | 'FolderNameContainsDelimiter' => self::FolderNameContainsDelimiter, |
| 44: | 'CannotRenameNonExistenFolder' => self::CannotRenameNonExistenFolder, |
| 45: | 'CannotGetMessage' => self::CannotGetMessage, |
| 46: | 'CannotMoveMessage' => self::CannotMoveMessage, |
| 47: | 'CannotMoveMessageQuota' => self::CannotMoveMessageQuota, |
| 48: | 'CannotSendMessage' => self::CannotSendMessage, |
| 49: | 'CannotSendMessageInvalidRecipients' => self::CannotSendMessageInvalidRecipients, |
| 50: | 'CannotSendMessageToRecipients' => self::CannotSendMessageToRecipients, |
| 51: | 'CannotSendMessageToExternalRecipients' => self::CannotSendMessageToExternalRecipients, |
| 52: | 'CannotSaveMessage' => self::CannotSaveMessage, |
| 53: | 'CannotSaveMessageToSentItems' => self::CannotSaveMessageToSentItems, |
| 54: | 'CannotUploadMessage' => self::CannotUploadMessage, |
| 55: | 'CannotUploadMessageFileNotEml' => self::CannotUploadMessageFileNotEml, |
| 56: | 'DomainIsNotAllowedForLoggingIn' => self::DomainIsNotAllowedForLoggingIn, |
| 57: | 'TenantQuotaExceeded' => self::TenantQuotaExceeded, |
| 58: | ]; |
| 59: | } |
| 60: | |