PinChangeError

public enum PinChangeError : MobileAuthenticationClientError
extension PinChangeError: LocalizedError

The error returned when the PIN change failed.

  • The specified user in username(_:) does not have an enrolled PIN.

    Declaration

    Swift

    case PinNotEnrolled
  • The PIN change was cancelled.

    Declaration

    Swift

    case UserCanceled
  • The PIN was locked because of too many failures.

    Declaration

    Swift

    case PinLocked
  • The iOS device has no passcode set.

    Declaration

    Swift

    case NoDeviceLockError
  • Unknown error, handling not categorized error cases.

    Requires

    iOS platform

    Declaration

    Swift

    case Unknown(message: String? = nil, cause: Error? = nil)

    Parameters

    message

    Additional information about the error.

    cause

    The underlying error that is related to the error occurred.

Localized descriptions

  • A message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }