OTPError
public enum OTPError : Error
extension OTPError: SAPError
Enumeration to describe the errors of the OTP authentication.
-
There was an error in the web view component. The error contains the propagated error.
Declaration
Swift
case webView(error: Error)
-
There is already an ongoing authentication process.
Declaration
Swift
case authenticationInProgress
-
The newly acquired credentials got rejected.
Declaration
Swift
case credentialsRejected
-
The authenticate method was calling in background mode, which is not supported.
Declaration
Swift
case backgroundAuthentication
-
The authentication got cancelled.
Declaration
Swift
case cancelled
-
A textual representation of this instance.
Declaration
Swift
public var description: String { get }
-
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }
-
A textual representation of this instance, suitable for debugging.
Declaration
Swift
public var debugDescription: String { get }
-
A localized message describing the reason for the failure.
Declaration
Swift
public var failureReason: String? { get }