RouteError

Wrapper for EngineRouteError, representing an error that occurred during route calculation.

Includes information about the type of error and a human-readable message for diagnostics.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A descriptive message explaining the error, if available.

Link copied to clipboard
val errorType: RouteErrorType

The type of error encountered during routing.

Link copied to clipboard

Converts the RouteErrorType enum to a human-readable description.

Link copied to clipboard

Returns true if the route was successfully calculated (i.e., no error occurred).

Functions

Link copied to clipboard
fun getCoreEngine(): RouteError

Returns the underlying engine EngineRouteError instance for JNI interop.

Link copied to clipboard
fun getCpp(): RouteError
Link copied to clipboard
fun getEngine(): RouteError
Link copied to clipboard
open override fun toString(): String