Companion

object Companion

Functions

Link copied to clipboard
fun create(errorType: RouteErrorType, message: String): RouteError

Creates a new RouteError with the given type and message.

Link copied to clipboard
fun fromCoreEngine(engine: RouteError): RouteError

Creates a RouteError instance from a native EngineRouteError object.

Link copied to clipboard
fun fromCpp(engine: RouteError): RouteError
Link copied to clipboard
fun fromEngine(engine: RouteError): RouteError
Link copied to clipboard

Returns a success instance representing no error.