Error

data class Error(val reason: ResponseErrorReason, val message: String)

Deprecated

This data class is deprecated, and will be removed in next major release.

Replace with

ResourceRequestError

The data class for error in Observer

Constructors

Link copied to clipboard
fun Error(reason: ResponseErrorReason, message: String)

Properties

Link copied to clipboard
@SerializedName(value = "message")
val message: String

"message" property

Link copied to clipboard
@SerializedName(value = "reason")
val reason: ResponseErrorReason

"reason" property