RecoverableError

public enum RecoverableError : Swift.Error, Equatable

Describes a recoverable error that occurs during authenticator settings.

  • The provided credentials are not valid. This is returned when the user provides a bad old PIN when changing the PIN.

    Declaration

    Swift

    case badPinCredentials
  • The PIN has an invalid format. The PIN must contain exactly 6 digits.

    Declaration

    Swift

    case invalidPinFormat(reason: String? = nil)
  • When the PIN is changed, the new PIN must be different from the old PIN.

    Declaration

    Swift

    case newPinEqualToOldPin