InstantiationErrorCode
public enum InstantiationErrorCode : UInt32, CaseIterable, Codable
extension InstantiationErrorCode : Error
Instantiation error.
-
Illegal arguments.
Declaration
Swift
case illegalArguments = 1 -
Instantiation attempt failed. Please check log for error.
Declaration
Swift
case failed -
Instantiation attempt failed because the shared SDK engine is not instantiated. Please initialise the SDK.
Declaration
Swift
case sharedSdkEngineNotInstantiated -
Access to the specified cache folder is denied
Declaration
Swift
case cacheFolderAccessDenied -
Access to the specified persistent map storage folder is denied This may occur on Android due to insufficient permissions or scoped storage restrictions (e.g. attempting to access paths outside the application sandbox such as /sdcard/…). Use application-specific directories (e.g. getFilesDir(), getExternalFilesDir()) or ensure the app has appropriate access rights to the provided path. For detailed guidance, see the official Android documentation: https://developer.android.com/guide/topics/permissions/overview
Declaration
Swift
case persistentMapStorageFolderAccessDenied -
The cache folder for given access key id is locked by other instance of SDKNativeEngine
Declaration
Swift
case failedToLockCacheFolder -
Analytics service can not be created
Declaration
Swift
case failedToCreateAnalyticsService -
Access key contains illegal symbols. The below characters are not supported: A. ‘(single quote) B. “(double quote)
Declaration
Swift
case accessKeyContainsIllegalSymbol -
Access key secret contains illegal symbols. The below characters are not supported: A. ‘(single quote) B. “(double quote)
Declaration
Swift
case accessKeySecretContainsIllegalSymbol -
Please check SDKOptions.layerConfiguration against SDK modules configuration.
Declaration
Swift
case layerConfigurationMismatch -
Instantiation attempt failed because the
dispose()method fromSDKNativeEnginewas called already.Declaration
Swift
case sdkEngineAlreadyDisposed -
CatalogConfigurationcontains invalid parameters. Check the corectness of HRNs and versions.Declaration
Swift
case invalidCatalogConfiguration -
Access to the specified data folder is denied
Declaration
Swift
case dataFolderAccessDenied