Error

The data class for error in Observer

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

Constructors

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

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String
copy
Link copied to clipboard
fun copy(reason: String, 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: String