SudoEmailError
public enum SudoEmailError : Error, Equatable, LocalizedError
Errors that occur in SudoEmail.
-
Configuration supplied to
DefaultSudoEmailClient
is invalid.Declaration
Swift
case invalidConfig
-
User is not signed in.
Declaration
Swift
case notSignedIn
-
Email message RFC822 is not available.
Declaration
Swift
case noEmailMessageRFC822Available
-
Device cryptographic key not found
Declaration
Swift
case keyNotFound
-
Indicates that the key archive imported was invalid.
Declaration
Swift
case invalidKeyArchive
-
No key attachments were found on message body.
Declaration
Swift
case keyAttachmentsNotFound
-
No body attachment was found on message body.
Declaration
Swift
case bodyAttachmentNotFound
-
Email message size exceeds configured maximum
Declaration
Swift
case messageSizeLimitExceeded(_: String?)
-
The entitlement for the email is exceeded.
Declaration
Swift
case entitlementExceeded
-
The email address supplied could not be found.
Declaration
Swift
case addressNotFound
-
The email message supplied could not be found.
Declaration
Swift
case emailMessageNotFound
-
The email address supplied is not authorized to perform the operation.
Declaration
Swift
case unauthorizedAddress
-
The email address domain specified is invalid.
Declaration
Swift
case invalidEmailAddressDomain
-
Input information relating to email address is invalid.
Declaration
Swift
case emailAddressFormatValidationFailed
-
Email address (or id associated with address) supplied is unavailable.
Declaration
Swift
case emailAddressUnavailable
-
Declaration
Swift
public var errorDescription: String? { get }