ResponseErrorReason

enum ResponseErrorReason : Enum<ResponseErrorReason>

Describes the reason of Error for response object.

Parameters

value

String value of this enum

Entries

SUCCESS
Link copied to clipboard
@SerializedName(value = "success")
SUCCESS("success")
Error type success.
NOT_FOUND
Link copied to clipboard
@SerializedName(value = "not-found")
NOT_FOUND("not-found")
Error type not-found.
SERVER
Link copied to clipboard
@SerializedName(value = "server")
SERVER("server")
Error type server.
CONNECTION
Link copied to clipboard
@SerializedName(value = "connection")
CONNECTION("connection")
Error type connection.
RATE_LIMIT
Link copied to clipboard
@SerializedName(value = "rate-limit")
RATE_LIMIT("rate-limit")
Error type rate-limit.
IN_OFFLINE_MODE
Link copied to clipboard
@SerializedName(value = "in-offline-mode")
IN_OFFLINE_MODE("in-offline-mode")
Error type in-offline-mode.
OTHER
Link copied to clipboard
@SerializedName(value = "other")
OTHER("other")
Error type other.

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: ResponseErrorReason): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<ResponseErrorReason>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
val value: String
String value of this enum