UiError

abstract class UiError

A type that represents an error that can happen during a search request. Used to render a title that can help a user to understand what has happened during the request.

Constructors

UiError
Link copied to clipboard
fun UiError()

Types

ClientError
Link copied to clipboard
object ClientError : UiError
Error that happened because of the client's issue, for example, incorrect search parameters.
Companion
Link copied to clipboard
object Companion
Companion object.
NoInternetConnectionError
Link copied to clipboard
object NoInternetConnectionError : UiError
Error that happened because of internet connection issue.
ServerError
Link copied to clipboard
object ServerError : UiError
Error that happened because of the server's issue, for example, 500 http code or response format that could not be parsed.
UnknownError
Link copied to clipboard
object UnknownError : UiError
Any other error.

Inheritors

UiError
Link copied to clipboard
UiError
Link copied to clipboard
UiError
Link copied to clipboard
UiError
Link copied to clipboard