PersistentMapRepairError
public enum PersistentMapRepairError : UInt32, CaseIterable, Codable
Specifies possible errors that may result after a map repair operation has been completed.
-
Persistent map is repaired, but some map data is lost. Lost regions marked with a PENDING status.
Declaration
Swift
case partiallyRestored -
Invalid persistent map path. The provided path to store the persistent map data doesn’t own the required Read/Write (RW) permissions. Try to choose a different path with RW permissions.
Declaration
Swift
case invalidPath -
The persisted map data can’t be recovered and all map data was fully deleted. It is recommended, to ask the user if they want to try to download the lost regions again.
Declaration
Swift
case brokenDb -
The map data version was not cached. The region list data will be cleared from the persisted storage. It is recommended to download the list of downloadable regions again. After this it is recommended to try to repair the corrupted map data again.
Declaration
Swift
case noOfflineVersion -
It is not possible to retrieve the list of downloaded regions. The region list data will be cleared from the persisted storage. It is recommended to download the list of downloadable regions again. After this it is recommended to try to repair the corrupted map data again.
Declaration
Swift
case noJournal -
Unrecoverable error during construction of pending update parameters. Operations such as catalog updates or region downloads will fail. The healing procedure is to clean persistent map with
sdk.maploader.MapDownloader.clear_persistent_map_storage.Declaration
Swift
case brokenUpdate -
Repair is invoked on object connected to the disposed
SDKNativeEngineDeclaration
Swift
case operationAfterDispose -
An unknown error occurred. Try to clear the persisted storage by calling
sdk.maploader.MapDownloader.clear_persistent_map_storage. It is recommended, to ask the user if they want to try to download the lost regions again.Declaration
Swift
case unknown