ChatError

data class ChatError(    val id: String,     val errorCode: Int,     val errorMessage: String,     val requestId: String?)

Represents an error sent by chat room in response to user request.

Constructors

Link copied to clipboard
fun ChatError(    id: String,     errorCode: Int,     errorMessage: String,     requestId: String?)

Properties

Link copied to clipboard
val errorCode: Int

Code of an error

Link copied to clipboard
val errorMessage: String

Error message

Link copied to clipboard
val id: String

Server-generated unique identifier of an error

Link copied to clipboard
val requestId: String?

Client-generated identifier of the request that caused this error