ChatError

data class ChatError(val code: Int = -1, var message: String = "", var statusCode: Int = -1, val exceptionFields: Map<String, String> = mapOf(), var moreInfo: String = "", val details: List<ChatErrorDetail> = emptyList(), var duration: String = "")

The error response from the chat server.

Constructors

Link copied to clipboard
constructor(code: Int = -1, message: String = "", statusCode: Int = -1, exceptionFields: Map<String, String> = mapOf(), moreInfo: String = "", details: List<ChatErrorDetail> = emptyList(), duration: String = "")

Properties

Link copied to clipboard
val code: Int

The error code.

Link copied to clipboard

The error details.

Link copied to clipboard

The duration of the error.

Link copied to clipboard

The exception fields.

Link copied to clipboard

The error message.

Link copied to clipboard

More info about the error.

Link copied to clipboard

The status code.