MapUpdateError

public enum MapUpdateError : CustomStringConvertible, Equatable, Error

TomTomMap update error

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Unexpected deployment error that will require the customer to analyze the error.

    Declaration

    Swift

    case unexpected(String)
  • Error while accessing a database.

    This can be caused by:

    • Corrupt database in the map.
    • Hardware problem when accessing a database in the map.
    • Wrong keystore/password to open an encrypted database in the map.
    • Permission problem to read/write a database in the map.
    • Corrupt catalog in the update storage.
    • Out of install space or inodes when updating a database in the map.

    Declaration

    Swift

    case databaseError(DatabaseError)
  • Error while accessing the file system.

    This can be caused by:

    • Permission problem when attempting to create/delete/copy/move a file or directory in the map or the update storage.
    • Filesystem problem failing to e.g. open a file or call fsync.
    • Hardware problem when accessing a file in the map or the update storage.
    • Out of install space or inodes when creating/copying a file or directory in the map.

    Declaration

    Swift

    case fileSystemError(FileSystemError)
  • Failure to get exclusive access.

    Indicates that the request for getting the exclusive map access, which is required to modify the map files, failed (e.g. timed out).

    Declaration

    Swift

    case exclusiveAccessNotAcquired(ExclusiveAccessNotAcquired)
  • No map was found in the NDS Store path.

    Declaration

    Swift

    case noMapAvailable(NoMapAvailable)
  • Map updates are disabled in the component.

    Trying to update the map will result in this error if map updates are disabled in the component.

    Note

    Never reported as an error for automatic updates.

    Declaration

    Swift

    case updatesDisabled(UpdatesDisabled)
  • Failure to get shared access to the map.

    Indicates that the request for getting the shared access to the map failed.

    This error may be an indication that other components in the system have temporarily acquired exclusive access to the map.

    Declaration

    Swift

    case sharedMapAccessError(SharedMapAccessError)
  • Not enough disk space to download or install a map update.

    This error is an indication of insufficient free disk space to download or install a map update.

    Declaration

    Swift

    case insufficientDiskSpace(InsufficientDiskSpace)
  • The scheduled operation was canceled.

    Declaration

    Swift

    case canceled(Canceled)
  • Transient network error occurred.

    Can occur e.g. when there is no network connection.

    Declaration

    Swift

    case networkError(NetworkError)
  • Error initializing map update.

    Can occur when invalid configuration parameters are provided, including paths to update storage or persistent storage that do not exist.

    Declaration

    Swift

    case initFailed(InitFailed)
  • Invalid arguments are provided.

    One or more provided arguments are invalid for the API call.

    Declaration

    Swift

    case invalidArgument(InvalidArgument)
  • Detailed information of the database error.

    See more

    Declaration

    Swift

    public struct DatabaseError : CustomStringConvertible, Equatable
  • Detailed information of the file system error.

    See more

    Declaration

    Swift

    public struct FileSystemError : CustomStringConvertible, Equatable
  • Detailed information of the exclusive access not accquired error.

    See more

    Declaration

    Swift

    public struct ExclusiveAccessNotAcquired : CustomStringConvertible, Equatable
  • Detailed information of the no map available error.

    See more

    Declaration

    Swift

    public struct NoMapAvailable : CustomStringConvertible, Equatable
  • Detailed information of the update disabled error.

    See more

    Declaration

    Swift

    public struct UpdatesDisabled : CustomStringConvertible, Equatable
  • Detailed information of the shared map access error.

    See more

    Declaration

    Swift

    public struct SharedMapAccessError : CustomStringConvertible, Equatable
  • Detailed information of the insufficient diskspace error.

    See more

    Declaration

    Swift

    public struct InsufficientDiskSpace : CustomStringConvertible, Equatable
  • Detailed information of the cancel event.

    See more

    Declaration

    Swift

    public struct Canceled : CustomStringConvertible, Equatable
  • Detailed information of the network error.

    See more

    Declaration

    Swift

    public struct NetworkError : CustomStringConvertible, Equatable
  • Detailed information of the initialization failure.

    See more

    Declaration

    Swift

    public struct InitFailed : CustomStringConvertible, Equatable
  • Detailed information of the invalid argument error.

    See more

    Declaration

    Swift

    public struct InvalidArgument : CustomStringConvertible, Equatable
  • Returns string representation of the error.

    Declaration

    Swift

    public var description: String { get }