IBMMobileKitError
public enum IBMMobileKitError : Error
Describes the error cases.
-
The JSON data supplied from ISAM is invalid or not in the correct format.
Declaration
Swift
case invalidDataFromServer
-
The data is incomplete and can not be parsed.
Declaration
Swift
case unableToParseData(missing: String)
-
The HTTP method is invalid for this operation.
Declaration
Swift
case invalidHTTPMethod
-
The HTTP header is invalid for this operation.
Declaration
Swift
case invalidHTTPHeader(name: String)
-
Failed to create a valid
URL
.Declaration
Swift
case invalidURL(url: String)
-
Underlying networking error.
Declaration
Swift
case underlyingError(error: Error)
-
Server error.
Declaration
Swift
case serverError(message: String)
-
The HTTP response code is 401 or ISAM has returned Content-Type as HTML.
Declaration
Swift
case unauthenticated
-
The transaction was not found.
Declaration
Swift
case transactionNotFound(id: String)
-
The challenge is unknown.
Declaration
Swift
case unknownChallenge
-
Retrieve the localized description for this error.
Declaration
Swift
public var errorDescription: String?