RequestFailed

class RequestFailed(val code: Int, val reason: String?) : DirectionsServiceError

The directions request was rejected by the server for a reason other than a missing route.

Constructors

Link copied to clipboard
constructor(code: Int, reason: String?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: Int

The routing API's status code — a gRPC canonical code, 3 for an invalid argument.

Link copied to clipboard
open override val message: String
Link copied to clipboard

The failure description returned by the server, when it sends one.