SDKCode
public enum SDKCode : Hashable, SelfIdentifiable
A value representing an error code specific to this iOS SDK.
-
Indicates that application schemes are not configured correctly.
Declaration
Swift
case badApplicationSchemes
-
Indicates that the response of a HTTP request could not be processed.
Declaration
Swift
case badHTTPResponse
-
Indicates that the presentation context was not provided or that the provided presentation context was invalid.
Declaration
Swift
case badPresentationContext
-
Indicates that the user cancelled an operation.
Declaration
Swift
case cancelledByUser
-
Indicates that the decoding failed.
Declaration
Swift
case decodingFailed
-
Indicates that a HTTP request failed.
Declaration
Swift
case httpRequestFailed
-
Indicates that the current authentication state is invalid.
Declaration
Swift
case invalidAuthenticationState
-
Indicates that a JavaScript action raise an exception.
Declaration
Swift
case javaScriptException
-
Indicates that a JavaScript action could not be processed.
Declaration
Swift
case javaScriptNotCallable
-
Indicates that a JavaScript action returns
null
.Declaration
Swift
case javaScriptNull
-
Indicates that a JavaScript action returns
undefined
or that a JavaScript property isundefined
.Declaration
Swift
case javaScriptUndefined
-
Indicates that the device token has not been provided.
Declaration
Swift
case missingDeviceToken
-
Indicates that the mobile country code (MCC) is missing.
Declaration
Swift
case missingMobileCountryCode
-
Indicates that no avatar URL is available.
Declaration
Swift
case noAvatarURL
-
Indicates that the redirection during the OAuth2 authentication process failed.
Declaration
Swift
case oAuth2RedirectionFailed
-
Indicates that the user is unauthenticated while it must be for the requested operation.
Declaration
Swift
case unauthenticated
-
Indicates that something unexpected happened during an OAuth2 authentication process.
Declaration
Swift
case unexpectedOAuth2Failure
-
Indicates that a HTTP request returned an unexpected status.
Declaration
Swift
case unexpectedHTTPStatus
-
Indicates that the
WebcomError
wraps anError
of any type.Declaration
Swift
case wrapper