AddSecondaryEmailResult

public enum AddSecondaryEmailResult : CustomStringConvertible, JSONRepresentable

Result of trying to add a secondary email to a user. ‘success’ is the only value indicating that a secondary email was successfully added to a user. The other values explain the type of error that occurred, and include the email for which the error occurred.

  • Describes a secondary email that was successfully added to a user.

    Declaration

    Swift

    case success(SecondaryEmails.SecondaryEmail)
  • Secondary email is not available to be claimed by the user.

    Declaration

    Swift

    case unavailable(String)
  • Secondary email is already a pending email for the user.

    Declaration

    Swift

    case alreadyPending(String)
  • Secondary email is already a verified email for the user.

    Declaration

    Swift

    case alreadyOwnedByUser(String)
  • User already has the maximum number of secondary emails allowed.

    Declaration

    Swift

    case reachedLimit(String)
  • A transient error occurred. Please try again later.

    Declaration

    Swift

    case transientError(String)
  • An error occurred due to conflicting updates. Please try again later.

    Declaration

    Swift

    case tooManyUpdates(String)
  • An unknown error occurred.

    Declaration

    Swift

    case unknownError(String)
  • Too many emails are being sent to this email address. Please try again later.

    Declaration

    Swift

    case rateLimited(String)
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }