CommandRegistrationException

class CommandRegistrationException(val name: Key, val reason: String) : KordExException

Thrown when an attempt to register a ChatCommand fails.

Parameters

name

The ChatCommand name

reason

Why this ChatCommand could not be registered.

Constructors

Link copied to clipboard
constructor(name: Key, reason: String)

Properties

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

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