DeleteSecondaryEmailResult

public enum DeleteSecondaryEmailResult : CustomStringConvertible, JSONRepresentable

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

  • The secondary email was successfully deleted.

    Declaration

    Swift

    case success(String)
  • The email address was not found for the user.

    Declaration

    Swift

    case notFound(String)
  • The email address is the primary email address of the user, and cannot be removed.

    Declaration

    Swift

    case cannotRemovePrimary(String)
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }