DiscordRelayedException

open class DiscordRelayedException(val reason: Key) : KordExException

Thrown when something exceptional happens that the actioning user on Discord needs to be aware of.

Provided reason will be returned to the user verbatim.

Parameters

reason

Translation key representing the failure reason.

Inheritors

Constructors

Link copied to clipboard
constructor(other: DiscordRelayedException)
constructor(reason: Key)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String
Link copied to clipboard
open val reason: Key

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String