RequestError

data class RequestError(code: Long, message: String, data: String?)

Represents protocol error.

Constructors

RequestError
Link copied to clipboard
fun RequestError(code: Long, message: String, data: String? = null)

Properties

code
Link copied to clipboard
val code: Long
Error code.
data
Link copied to clipboard
val data: String? = null
Associated error data.
message
Link copied to clipboard
val message: String
Error message.

Sources

jvm source
Link copied to clipboard