sdk-search / com.tomtom.online.sdk.search.data.common / ResponseError

ResponseError

open class ResponseError : Serializable

The error which occurred while processing the request or while decoding the result. It may be a HTTP error.

Constructors

<init>

ResponseError()

The error which occurred while processing the request or while decoding the result. It may be a HTTP error.

Properties

code

var code: Int

An error code.

description

var description: String!

Description of the error.

HTTP_OK

static val HTTP_OK: Int

A value used to determine that the search was successful and returned zero or more results.

Functions

getCode

open fun getCode(): Int

Returns an error code.

getDescription

open fun getDescription(): String!

Returns a description of the error.

toString

open fun toString(): String