InstantiationErrorCode Enumeration Reference
- Last UpdatedJun 10, 2025
- 1 minute read
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
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 fromSDKNativeEngine
was called already.Declaration
Swift
case sdkEngineAlreadyDisposed
-
CatalogConfiguration
contains 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