NSDK_ErrorCode

enum NSDK_ErrorCode {}

@author PTV AG Karlsruhe

  • Unknown error.

    Declaration

    Objective-C

    NSDK_ERROR_UNKNOWN = 2
  • Notification, no error

    Declaration

    Objective-C

    NSDK_ERROR_Notice = 1
  • Everything’s OK

    Declaration

    Objective-C

    NSDK_ERROR_Ok = 0
  • Library not yet initialized

    Declaration

    Objective-C

    NSDK_ERROR_UnInitialized = -1
  • Basic sizeof() mismatch. Headers and Libs don’t match

    Declaration

    Objective-C

    NSDK_ERROR_BasicTypeMismatch = -2
  • version member of struct indicates an unsupported version

    Declaration

    Objective-C

    NSDK_ERROR_VersionMismatch = -3
  • That feature is not implemented

    Declaration

    Objective-C

    NSDK_ERROR_NotImplemented = -4
  • One or more invalid parameters were given

    Declaration

    Objective-C

    NSDK_ERROR_InvalidParameter = -5
  • No memory left for the application (a request to *alloc()/new failed)

    Declaration

    Objective-C

    NSDK_ERROR_NoMem = -6
  • No position data at all

    Declaration

    Objective-C

    NSDK_ERROR_NoPositionData = -7
  • course outside [0..360[

    Declaration

    Objective-C

    NSDK_ERROR_InvalidGPSCourse = -8
  • wrong coordinate units, position on surface of the moon, etc.

    Declaration

    Objective-C

    NSDK_ERROR_InvalidGPSPos = -9
  • no route available, route can not be calculated

    Declaration

    Objective-C

    NSDK_ERROR_NoRouteFound = -10
  • no matched position+direction

    Declaration

    Objective-C

    NSDK_ERROR_NoDirection = -11
  • Trying to calculate route between identical start and end

    Declaration

    Objective-C

    NSDK_ERROR_IdenticalStartnEnd = -12
  • unspecified internal error

    Declaration

    Objective-C

    NSDK_ERROR_InternalError = -13
  • request could be performed due to some internal limit

    Declaration

    Objective-C

    NSDK_ERROR_OutOfResources = -14
  • the selected resource is already initialized

    Declaration

    Objective-C

    NSDK_ERROR_AlreadyInitialized = -15
  • the specified file or directory was not found or could not be created

    Declaration

    Objective-C

    NSDK_ERROR_InvalidPath = -16
  • the search didn’t succeed

    Declaration

    Objective-C

    NSDK_ERROR_NoResultFound = -17
  • no GPS device available

    Declaration

    Objective-C

    NSDK_ERROR_NoGPSDevice = -18
  • No data could be read from GPS (or another basic problem with GPS)

    Declaration

    Objective-C

    NSDK_ERROR_GPSNoData = -19
  • no TMC device available

    Declaration

    Objective-C

    NSDK_ERROR_NoTMCDevice = -20
  • an external component (e.g. Dll) is missing

    Declaration

    Objective-C

    NSDK_ERROR_MissingComponent = -21
  • Data structures passed to the SDK are not properly aligned

    Declaration

    Objective-C

    NSDK_ERROR_MisalignedData = -22
  • Certain routing options limit the distance of routes to be calculated (e.g. pedestrian routing)

    Declaration

    Objective-C

    NSDK_ERROR_DistanceTooLong = -23
  • The specified position is outside the current map (or all available maps)

    Declaration

    Objective-C

    NSDK_ERROR_PositionOutOfMap = -24
  • No map active or found

    Declaration

    Objective-C

    NSDK_ERROR_NoMap = -25
  • A street was specified which is not part of a town (‘s street table)

    Declaration

    Objective-C

    NSDK_ERROR_OutOfTown = -26
  • At least one of the required maps is not capable of cross-map routing or MR map missing

    Declaration

    Objective-C

    NSDK_ERROR_NoCrossBorderMap = -27
  • A given data file (or data input stream) is corrupt

    Declaration

    Objective-C

    NSDK_ERROR_InvalidData = -28
  • Supplied GPS data is invalid

    Declaration

    Objective-C

    NSDK_ERROR_InvalidGPSData = -29
  • Supplied GPS data is invalid; date or time values are invalid

    Declaration

    Objective-C

    NSDK_ERROR_InvalidGPSTimeDate = -30
  • The map view was modified (usually related to coordinate transformations)

    Declaration

    Objective-C

    NSDK_ERROR_MapOutOfSync = -31
  • a station could not be linked in the routing net

    Declaration

    Objective-C

    NSDK_ERROR_StationLinkError = -32
  • For the current request there is no guidance target available

    Declaration

    Objective-C

    NSDK_ERROR_NoDestination = -34
  • Currently only maps for a single continent, as of the ptv definition, may be used at the same time

    Declaration

    Objective-C

    NSDK_ERROR_ContinentError = -35
  • The current task had been completed with the very same input data before

    Declaration

    Objective-C

    NSDK_ERROR_SamePosition = -36
  • The SDK detected an invalid map (invalid format or incomplete)

    Declaration

    Objective-C

    NSDK_ERROR_InvalidMap = -37
  • The filter to define this search has not been set

    Declaration

    Objective-C

    NSDK_ERROR_NoSearchFilter = -38
  • Usually indicates a lack of virtual memory for memory-mapped files

    Declaration

    Objective-C

    NSDK_ERROR_NoVirtualMemory = -40
  • Currently the SDK does not support being called from multiple traces

    Declaration

    Objective-C

    NSDK_ERROR_Threading = -50
  • no route available in major road map, route can not be calculated

    Declaration

    Objective-C

    NSDK_ERROR_NoCrossBorderRouteFound = -51
  • tour is not initialized

    Declaration

    Objective-C

    NSDK_ERROR_TourUnInitialized = -52
  • start station could not be linked in the routing net

    Declaration

    Objective-C

    NSDK_ERROR_StartStationLinkError = -80
  • target station could not be linked in the routing net

    Declaration

    Objective-C

    NSDK_ERROR_TargetStationLinkError = -81
  • start and target station could not be linked in the routing net

    Declaration

    Objective-C

    NSDK_ERROR_StartAndTargetStationLinkError = -82
  • start station probably has restrictions

    Declaration

    Objective-C

    NSDK_ERROR_StartStationNotValid = -83
  • target station probably has restrictions

    Declaration

    Objective-C

    NSDK_ERROR_TargetStationNotValid = -84
  • a request is returning due to a user request (callback)

    Declaration

    Objective-C

    NSDK_ERROR_UserBreak = -500
  • critical IO failure

    Declaration

    Objective-C

    NSDK_ERROR_Critical_IOFailure = -1000
  • critical internal failure

    Declaration

    Objective-C

    NSDK_ERROR_Critical_InternalFailure = -1010