Error

The data class for error in Observer

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

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

"message" property

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

"reason" property

@SerializedName(value = "reason")
val reason: ResponseErrorReason