SKRoutingErrorCode Constants Reference

Declared in SKDefinitions.h

SKRoutingErrorCode

The available routing error codes that can be returned after a routing calculation.

Definition

typedef NS_ENUM(NSInteger, SKRoutingErrorCode ) {
   SKRoutingErrorCodeInvalidRouteMode,
   SKRoutingErrorCodeFailedReadingRoutingProfiles,
   SKRoutingErrorCodeInconsistentRouteProfiles,
   SKRoutingErrorCodeCountryProfilesDefinedMultipleTimes,
   SKRoutingErrorCodeInvalidCountryCode,
   SKRoutingErrorCodeComputationCancelled,
   SKRoutingErrorCodeComputationError,
   SKRoutingErrorCodeNotEnoughMemory,
   SKRoutingErrorCodeRouteCannotBeCalculated,
   SKRoutingErrorCodeMetaFilesIssue,
   SKRoutingErrorCodeAppIsOffline,
   SKRoutingErrorCodeInternetIsTurnedOff,
   SKRoutingErrorCodeRouterNot_Initialized,
   SKRoutingErrorCodeNoExposedRoute,
   SKRoutingErrorCodeOutputNotRequestedByComputation,
   SKRoutingErrorCodeInvalidRouteIndex,
   SKRoutingErrorCodeInvalidRouteId,
   SKRoutingErrorCodeMissingElevationTile,
   SKRoutingErrorCodeMissingBikeBarriersConfigFile,
   SKRoutingErrorCodeInconsistentBikeBarriersConfigFile,
   SKRoutingErrorCodeMissingSlopesConfigFile,
   SKRoutingErrorCodeInconsistentSlopesConfigFile,
   SKRoutingErrorCodeMissingRoadSurfaceConfigFile,
   SKRoutingErrorCodeInconsistentRoadSurfaceConfigFile,
   SKRoutingErrorCodeMissingRoadWidthConfigFile,
   SKRoutingErrorCodeInconsistentRoadWidthConfigFile,
   SKRoutingErrorCodeInconsistentConfigFile,
   SKRoutingErrorCodeInconsistentServerMaps,
   SKRoutingErrorCodeInvalidNumberOfRoutes,
   SKRoutingErrorCodeNoResultsFound = 601,
   SKRoutingErrorCodeMissingArgument = 610,
   SKRoutingErrorCodeInvalidArgument = 611,
   SKRoutingErrorCodeUnsupportedServerCommand = 621,
   SKRoutingErrorCodeUnsupportedRequestType = 631,
   SKRoutingErrorCodeSameStartAndDestinationCoordinate = 680,
   SKRoutingErrorCodeInvalidStartCoordinate = 681,
   SKRoutingErrorCodeInvalidDestinationCoordinate = 682,
   SKRoutingErrorCodeCannotBeCalculated = 683,
   SKRoutingErrorCodeInvalidViaPoint = 684,
   SKRoutingErrorCodeInternalError = 690,
   SKRoutingErrorCodeExtComputationCancelled = 901,
   SKRoutingErrorCodeRouteCalculationTurnedOffline = 909,
   SKRoutingErrorCodeInternetTurnedOff = 910,
};

Constants

SKRoutingErrorCodeInvalidRouteMode

Invalid route mode

Declared In SKDefinitions.h.

SKRoutingErrorCodeFailedReadingRoutingProfiles

The routing profiles do not exist.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentRouteProfiles

The routing profiles are not consistent.

Declared In SKDefinitions.h.

SKRoutingErrorCodeCountryProfilesDefinedMultipleTimes

The country profiles are defined multiple times.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidCountryCode

The country code is invalid.

Declared In SKDefinitions.h.

SKRoutingErrorCodeComputationCancelled

The routing calculation has been cancelled.

Declared In SKDefinitions.h.

SKRoutingErrorCodeComputationError

The routing failed due to an unknown error.

Declared In SKDefinitions.h.

SKRoutingErrorCodeNotEnoughMemory

The routing failed due to not enough memory.

Declared In SKDefinitions.h.

SKRoutingErrorCodeRouteCannotBeCalculated

The route can not be calculated (start / destination points are not connected or the tiles that connect them are missing)

Declared In SKDefinitions.h.

SKRoutingErrorCodeMetaFilesIssue

There is an issue with the meta files.

Declared In SKDefinitions.h.

SKRoutingErrorCodeAppIsOffline

Declared In SKDefinitions.h.

SKRoutingErrorCodeInternetIsTurnedOff

The internet connection has been turned off on device.

Declared In SKDefinitions.h.

SKRoutingErrorCodeRouterNot_Initialized

The router component is not initialized.

Declared In SKDefinitions.h.

SKRoutingErrorCodeNoExposedRoute

There is no calculated route or it is not exposed because it failed.

Declared In SKDefinitions.h.

SKRoutingErrorCodeOutputNotRequestedByComputation

The route calculation requires points that were not asked.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidRouteIndex

The route index is invalid.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidRouteId

The route’s unique ID is invalid or the route having this ID is not successfully computed / the route is not accessible.

Declared In SKDefinitions.h.

SKRoutingErrorCodeMissingElevationTile

An elevation tile for that route is not available locally.

Declared In SKDefinitions.h.

SKRoutingErrorCodeMissingBikeBarriersConfigFile

The bike-barriers config file (barriers.csv) is missing or not found.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentBikeBarriersConfigFile

The bike-barriers config file (barriers.csv) contains some errors.

Declared In SKDefinitions.h.

SKRoutingErrorCodeMissingSlopesConfigFile

The slopes config file (slopes.csv) is missing or not found.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentSlopesConfigFile

The slopes config file (slopes.csv) contains some errors.

Declared In SKDefinitions.h.

SKRoutingErrorCodeMissingRoadSurfaceConfigFile

The road surface config file (surface.csv) is missing or not found.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentRoadSurfaceConfigFile

The road surface config file (surface.csv) contains some errors.

Declared In SKDefinitions.h.

SKRoutingErrorCodeMissingRoadWidthConfigFile

The road width config file (width.csv) is missing or not found.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentRoadWidthConfigFile

The road width config file (width.csv) contains some errors.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentConfigFile

The general config file contains some errors.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInconsistentServerMaps

The routing server is using maps with different version number.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidNumberOfRoutes

The requested number of routes to be returned is invalid.

Declared In SKDefinitions.h.

SKRoutingErrorCodeNoResultsFound

No results found.

Declared In SKDefinitions.h.

SKRoutingErrorCodeMissingArgument

An argument required for route computation is missing.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidArgument

An argument required for route computation is invalid.

Declared In SKDefinitions.h.

SKRoutingErrorCodeUnsupportedServerCommand

Unsupported server command

Declared In SKDefinitions.h.

SKRoutingErrorCodeUnsupportedRequestType

Unsupported request type

Declared In SKDefinitions.h.

SKRoutingErrorCodeSameStartAndDestinationCoordinate

The start and the destination points can not be the same.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidStartCoordinate

There is an issue regarding the start coordinate.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidDestinationCoordinate

There is an issue regarding the destination coordinate.

Declared In SKDefinitions.h.

SKRoutingErrorCodeCannotBeCalculated

The route can not be calculated.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInvalidViaPoint

One of the via points is invalid.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInternalError

Routing server error

Declared In SKDefinitions.h.

SKRoutingErrorCodeExtComputationCancelled

Route computation cancelled.

Declared In SKDefinitions.h.

SKRoutingErrorCodeRouteCalculationTurnedOffline

The app was turned to offline mode during an online routing.

Declared In SKDefinitions.h.

SKRoutingErrorCodeInternetTurnedOff

The client has turned off the internet connection on device.

Declared In SKDefinitions.h.

Declared In

SKDefinitions.h