EMPinErrorCode
Objective-C
enum EMPinErrorCode : NSInteger {}
Swift
enum EMPinErrorCode : Int, @unchecked Sendable
NSError codes for EMPinErrorDomain
-
The digits in the pin is a series (e.g. 2345)
Declaration
Objective-C
EMPinNumericSeriesError = 1Swift
case numericSeriesError = 1 -
The pin has non digits characters (e.g. 23AF)
Declaration
Objective-C
EMPinNonDigitsError = 2Swift
case nonDigitsError = 2 -
The pin is a palindrome (e.g. 12321)
Declaration
Objective-C
EMPinPalindromeError = 3Swift
case palindromeError = 3 -
All digits in the pin is the same number (e.g. 2222)
Declaration
Objective-C
EMPinSameDigitsError = 4Swift
case sameDigitsError = 4 -
The pin is too short
Declaration
Objective-C
EMPinTooShortError = 5Swift
case tooShortError = 5 -
The new pin equals the old one
Declaration
Objective-C
EMPinEqualsOldPinError = 6Swift
case equalsOldPinError = 6 -
The error was caused by an error in the EMPinRuleErrorDomain To access the error, use the NSUnderlyingErrorKey key on the userInfo.
Since
2.1Declaration
Objective-C
EMPinRuleErrorDomainError = 7Swift
case ruleErrorDomainError = 7
EMPinErrorCode Enumeration Reference