EMPinRuleErrorCode

Objective-C

enum EMPinRuleErrorCode : NSInteger {}

Swift

enum EMPinRuleErrorCode : Int, @unchecked Sendable

NSError codes for EMPinRuleErrorDomain

  • The pin contains non-numeric characters

    Declaration

    Objective-C

    EMNonNumericPinRuleError = 1

    Swift

    case nonNumericPinRuleError = 1
  • The digits in the pin are a series (e.g. 2345)

    Declaration

    Objective-C

    EMPinRuleSeriesError = 2

    Swift

    case pinRuleSeriesError = 2
  • The pin is a palindrome (e.g. 12321)

    Declaration

    Objective-C

    EMPinRulePalindromeError = 3

    Swift

    case pinRulePalindromeError = 3
  • The old PIN and the new PIN are not allowed to be equal

    Declaration

    Objective-C

    EMPinRuleIdenticalError = 4

    Swift

    case pinRuleIdenticalError = 4
  • The pin is too short or too long

    Declaration

    Objective-C

    EMPinRuleLengthError = 5

    Swift

    case pinRuleLengthError = 5
  • The pin is uniform

    Declaration

    Objective-C

    EMPinRuleUniformError = 6

    Swift

    case pinRuleUniformError = 6
  • The pin contains non-alphabetic characters

    Declaration

    Objective-C

    EMNonAlphabeticPinRuleError = 7

    Swift

    case nonAlphabeticPinRuleError = 7
  • The pin must not be changed

    Declaration

    Objective-C

    EMPinMustNotBeChangedError = 8

    Swift

    case pinMustNotBeChangedError = 8