![JAR search and dependency download from the Maven repository](/logo.png)
io.github.freya022.botcommands.api.commands.application.CommandUpdateException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BotCommands Show documentation
Show all versions of BotCommands Show documentation
A Kotlin-first (and Java) framework that makes creating Discord bots a piece of cake, using the JDA library.
package io.github.freya022.botcommands.api.commands.application
import io.github.freya022.botcommands.internal.utils.shortSignature
import kotlin.reflect.KFunction
/**
* Simple wrapper for the failing command declaration function and its exception
*
* @see CommandUpdateResult
*/
class CommandUpdateException internal constructor(val function: KFunction, val throwable: Throwable) {
override fun toString(): String = "$throwable at: ${function.shortSignature}"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy