Companion

object Companion

Object which contains failure type constants

Properties

Link copied to clipboard
const val AUTHENTICATION_ERROR: String

Authentication error, check the access token / account

Link copied to clipboard
const val INPUT_ERROR: String

Unsupported request arguments or URL parsing error

Link copied to clipboard
const val NETWORK_ERROR: String

Error which happened on network transport side, for example, Connection error, SSL error, Time out, etc.

Link copied to clipboard
const val RESPONSE_PARSING_ERROR: String

Server returned response with a route which could not be parsed.

Link copied to clipboard
const val ROUTE_CREATION_ERROR: String

Critical errors from Router, for example, NoRoute, NoSegment, NoChargersNearby. Fallback to onboard router unsupported

Link copied to clipboard
const val THROTTLING_ERROR: String

Error caused by too many requests to router

Link copied to clipboard
const val UNKNOWN_ERROR: String

Error has an unknown type