SearchFailure

abstract class SearchFailure

Represents an error raised when something went wrong in searching.

Parameters

message

Error message.

Inheritors

Types

Link copied to clipboard
class ApiKeyFailure(val message: String = API_KEY_ERROR_MESSAGE) : SearchFailure

HTTP REST call did not finish due to a problem with the API key.

Link copied to clipboard
class BadInputFailure(val message: String) : SearchFailure

Some input parameter combination was not valid.

Link copied to clipboard
class CancelFailure(val message: String) : SearchFailure

Search request was cancelled.

Link copied to clipboard
object Companion
Link copied to clipboard

Deserialization of online json response failed.

Link copied to clipboard
class HttpFailure(val httpErrorCode: Int, val message: String) : SearchFailure

Online REST API call ended with unexpected HTTP code.

Link copied to clipboard
class NetworkFailure(val message: String) : SearchFailure

Network call failed with IOException.

Link copied to clipboard
class OfflineMapFailure(val message: String) : SearchFailure

Offline map is faulty, one possible reason being missing support for full text search in the underlying map.

Properties

Link copied to clipboard