PlaytimeError
public enum PlaytimeError : LocalizedError
Errors that can be thrown by the Playtime SDK.
-
The minimal iOS version required is not satisfied (iOS 14.0 or higher is required).
Declaration
Swift
case minimalIOSVersionNotSatisfied -
The feature is not supported. Check the minimal iOS version in the respective API reference.
Declaration
Swift
case featureNotSupported -
The provided SDK hash is not a valid MD5 hash.
Declaration
Swift
case invalidSDKHash -
The user ID is not provided, which is required for certain operations.
Declaration
Swift
case userIdIsNotProvided -
An operation was attempted before the SDK was initialized.
Declaration
Swift
case performingOperationBeforeSDKInitialized -
A campaign with the given UUID was not found.
Declaration
Swift
case campaignWithGivenUUIDNotFound -
The Web Catalog (referred to as the Web Offerwall as well) cannot be loaded.
Declaration
Swift
case catalogCannotBeLoaded -
A network error occurred while interacting with the Playtime SDK.
Declaration
Swift
case networkError(details: String?) -
The user has cancelled the operation.
Declaration
Swift
case cancelledByTheUser -
Playtime Login authentication failed because the provided auth credentials (e.g. the passkey) might be wrong.
Declaration
Swift
case wrongAuthCredentials -
An internal error occurred in the SDK.
Declaration
Swift
case internalError(details: String?) -
A localized description of the error.
Declaration
Swift
public var errorDescription: String? { get } -
A general description of the error. In most cases, it will return the same value as
errorDescription.Declaration
Swift
public var description: String { get } -
You can use this property to provide more detailed information about the error.
Declaration
Swift
public var detailedError: String? { get }
PlaytimeError Enumeration Reference