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)

Functions

component1
Link copied to clipboard
operator fun component1(): ResponseErrorReason
component2
Link copied to clipboard
operator fun component2(): String
copy
Link copied to clipboard
fun copy(reason: ResponseErrorReason, message: String): Error
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): 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