Response

sealed class Response<T : Any>

Represents the response from a network request done by the SDK.

Parameters

T

the type of the result

Inheritors

Types

Link copied to clipboard
class Error<T : Any> : Response<T>

Represents a failed response from a network request done by the SDK.

Link copied to clipboard
class Exception<T : Any> : Response<T>

Represents an unrecoverable state, that was reached during a network request done by the SDK.

Link copied to clipboard
class Success<T : Any> : Response<T>

Represents a successful response from a network request done by the SDK.