Error Handling
Errors and exceptions in the SDK contains an error code and a message.
The following are the error codes in the SDK.
ILLEGAL_ARGUMENT_ERROR
- For arguments or values that doesn’t match the constraintsSDK_INITIALISATION_ERROR
- SDK initialisation failureMAP_INITIALISATION_ERROR
- Map initialisation failuresMAP_LOAD_ERROR
- Failures with loading scheme in the MapMAP_OPERATION_BEFORE_MAP_READY_ERROR
- Accessing Map operation before map ready callbackTRIP_DETAILS_ERROR
- Any failure with Trip related APIsROUTE_CREATION_ERROR
- Failure with route creationPEDESTRIAN_ROUTE_CREATION_ERROR
- Failure with Pedestrian route creationRETURN_TO_ROUTE_ERROR
- Failure in return to route method