DiscordErrorResponse

data class DiscordErrorResponse(val code: JsonErrorCode = JsonErrorCode.Unknown, val errors: JsonElement? = null, val message: String? = null)(source)

Represents a Discord error response.

Constructors

Link copied to clipboard
constructor(code: JsonErrorCode = JsonErrorCode.Unknown, errors: JsonElement? = null, message: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val errors: JsonElement? = null
Link copied to clipboard
val message: String? = null