PinEnrollmentError

public enum PinEnrollmentError : RecoverableError
extension PinEnrollmentError: LocalizedError

The object that informs that an error occurred during PIN enrollment.

  • The provided PIN has characters that are not digits, or its length is not compliant with the minimum and maximum PIN lengths defined in PinPolicy.

    See

    See PinPolicy

    Declaration

    Swift

    case InvalidPinFormat(message: String? = nil)

    Parameters

    message

    Additional information about the error.

  • The provided PIN has failed the validation.

    Declaration

    Swift

    case CustomValidationError(message: String, 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 }