MSFPackageErrorType

Objective-C

enum MSFPackageErrorType : NSInteger {}

Swift

enum MSFPackageErrorType : Int, @unchecked Sendable

Possible error types for failed package downloads.

  • Internal or system error.

    Declaration

    Objective-C

    MSF_PACKAGE_ERROR_TYPE_SYSTEM

    Swift

    case PACKAGE_ERROR_TYPE_SYSTEM = 0
  • Connection or network error.

    Declaration

    Objective-C

    MSF_PACKAGE_ERROR_TYPE_CONNECTION

    Swift

    case PACKAGE_ERROR_TYPE_CONNECTION = 1
  • The number of downloaded packages exceeded subscription limit.

    Declaration

    Objective-C

    MSF_PACKAGE_ERROR_TYPE_DOWNLOAD_LIMIT_EXCEEDED

    Swift

    case PACKAGE_ERROR_TYPE_DOWNLOAD_LIMIT_EXCEEDED = 2
  • The bounding box of the package contains too many tiles. This error is only returned for custom bounding box packages.

    Declaration

    Objective-C

    MSF_PACKAGE_ERROR_TYPE_PACKAGE_TOO_BIG

    Swift

    case PACKAGE_ERROR_TYPE_PACKAGE_TOO_BIG = 3
  • The license does not allow downloading offline packages.

    Declaration

    Objective-C

    MSF_PACKAGE_ERROR_TYPE_NO_OFFLINE_PLAN

    Swift

    case PACKAGE_ERROR_TYPE_NO_OFFLINE_PLAN = 4