Package-level declarations

Types

Link copied to clipboard
sealed class CallError

Error hierarchy when calling remote server.

Link copied to clipboard
data class HttpError(val code: Int, val message: String, val body: String) : CallError

Http request returned an error response.

Link copied to clipboard
data class IOError(val cause: IOException) : CallError

IO error: no network, socket timeout etc. Check the cause for details.

Link copied to clipboard
data class UnexpectedCallError(val cause: Throwable) : CallError

Unexpected API error.