PinChangeRecoverableError
public enum PinChangeRecoverableError : RecoverableError
extension PinChangeRecoverableError: LocalizedError
The recoverable error that can occur when changing a PIN.
When this error occurs, the changePin(context:handler:)
method will be invoked again.
This error will be returned by the lastRecoverableError
.
-
Bad credentials were provided for old PIN.
Declaration
Swift
case InvalidPin
-
Provided new PIN is identical with the one to be changed.
Declaration
Swift
case OldPinEqualsNewPin
-
The provided PIN has failed the validation done in
validatePinForPinChange(_:onSuccess:onError:)
.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.
-
A message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }