Error

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

The data class for error in Observer

Constructors

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

Properties

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

"message" property

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

"reason" property