Error

class Error<T : Any> : Response<T>

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

Parameters

T

the type of the result

Properties

Link copied to clipboard
val data: T? = null

the data containing the result, nullable

Link copied to clipboard
val errorCode: String? = null

the error code, nullable

Link copied to clipboard
val errorMessage: String? = null

the error message, nullable