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 = 1Swift
case nonNumericPinRuleError = 1 -
The digits in the pin are a series (e.g. 2345)
Declaration
Objective-C
EMPinRuleSeriesError = 2Swift
case pinRuleSeriesError = 2 -
The pin is a palindrome (e.g. 12321)
Declaration
Objective-C
EMPinRulePalindromeError = 3Swift
case pinRulePalindromeError = 3 -
The old PIN and the new PIN are not allowed to be equal
Declaration
Objective-C
EMPinRuleIdenticalError = 4Swift
case pinRuleIdenticalError = 4 -
The pin is too short or too long
Declaration
Objective-C
EMPinRuleLengthError = 5Swift
case pinRuleLengthError = 5 -
The pin is uniform
Declaration
Objective-C
EMPinRuleUniformError = 6Swift
case pinRuleUniformError = 6 -
The pin contains non-alphabetic characters
Declaration
Objective-C
EMNonAlphabeticPinRuleError = 7Swift
case nonAlphabeticPinRuleError = 7 -
The pin must not be changed
Declaration
Objective-C
EMPinMustNotBeChangedError = 8Swift
case pinMustNotBeChangedError = 8
EMPinRuleErrorCode Enumeration Reference