OnboardingError
public enum OnboardingError : Error
extension OnboardingError: SAPError
Set of error that could occur during onboarding.
- shouldUseAlternateOperation: an alternate operation should be started which isn’t a real error but the flow has to stop. For example Demo mode on Welcome
- authenticationFailed: The authentication / validation request failed. The configured SAPURLSession is not able to communicate with the backend.
- missingArgument: Missing argument.
- invalidArgument: Invalid argument.
-
An alternate operation should start, the flow has to stop. For example Demo mode on Welcome step
Declaration
Swift
case shouldUseAlternateOperation(Any) -
The authentication / validation request failed. The configured SAPURLSession is not able to communicate with the backend.
Declaration
Swift
case authenticationFailed(description: String, response: URLResponse?, data: Data?, error: Error?) -
Missing argument.
Declaration
Swift
case missingArgument(String, source: String) -
Invalid argument.
Declaration
Swift
case invalidArgument(String, Any, source: String) -
Digital Signature Verification failed.
Declaration
Swift
case digitalSignatureVerificationFailed -
The flow got cancelled.
Declaration
Swift
case cancelled(error: Error) -
Message describing the error
Declaration
Swift
public var description: String { get } -
Localized error description
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 }