APIKeyAuthenticationError
public enum APIKeyAuthenticationError : Error
extension APIKeyAuthenticationError: SAPError
Enumeration to describe the errors related to APIKey authentication mechanism
-
A method got called with invalid argument(s).
Declaration
Swift
case invalidArgument(detail: String) -
The
SAPURLSessioncomponent signalled an error during a request.Declaration
Swift
case http(error: Error, statusCode: Int?, response: String?) -
The HTTP response was empty.
Declaration
Swift
case missingHTTPResponse -
There is already an ongoing authentication process.
Declaration
Swift
case authenticationInProgress -
Could not find apikey credential
Declaration
Swift
case missingAPIKeyCredential -
Recieved HTTP 401
Declaration
Swift
case unauthorized -
Invalid APIKey
Declaration
Swift
case invalidAPIKeyCredential -
Missing config
Declaration
Swift
case missingAPIKeyConfig -
denotes a generic error
Declaration
Swift
case generic(statusCode: Int?) -
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 debug representation, 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 }