ErrorFrame

data class ErrorFrame(val code: String, val message: String, val forId: String? = null, val id: String? = null) : ServerFrame

A request failed (with the request id) or an unsolicited error.

Constructors

Link copied to clipboard
constructor(code: String, message: String, forId: String? = null, id: String? = null)

Properties

Link copied to clipboard

Error slug.

Link copied to clipboard
val forId: String? = null

The request this error is for (older gateways).

Link copied to clipboard
open override val id: String? = null

Echo of the request id this frame answers.

Link copied to clipboard

English message.

Link copied to clipboard
open override val t: String

Frame type.