TripPlanError

class TripPlanError(val errorType: TripPlanErrorType, val message: String?) : Parcelable

A class to hold information related to a trip planning error. The errorType will give a general indication of the reason the trip planning failed. If available, message will contain a detailed error messages, describing the trip planning failure; otherwise will be null.

Constructors

Link copied to clipboard
fun TripPlanError(errorType: TripPlanErrorType, message: String?)

Properties

Link copied to clipboard
val errorType: TripPlanErrorType
Link copied to clipboard
val message: String?

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)