ExceptionHandler

Functions

Link copied to clipboard
abstract fun onException(ex: Throwable, command: BaseSlashCommand, event: ModalInteractionEvent)
abstract fun onException(ex: Throwable, command: BaseSlashCommand, event: CommandAutoCompleteInteractionEvent)
abstract fun onException(ex: Throwable, command: BaseSlashCommand, event: SlashCommandInteractionEvent)
abstract fun onException(ex: Throwable, command: BaseSlashCommand, event: ButtonInteractionEvent)
abstract fun onException(ex: Throwable, command: MessageCommand, event: MessageContextInteractionEvent)
abstract fun onException(ex: Throwable, command: UserCommand, event: UserContextInteractionEvent)
Link copied to clipboard
abstract fun onTimeoutCancellationException(ex: TimeoutCancellationException, event: SlashCommandInteractionEvent, timeout: Duration)
Link copied to clipboard
open fun wrap(e: Throwable, command: BaseSlashCommand, event: CommandAutoCompleteInteractionEvent)
open fun wrap(e: Throwable, command: BaseSlashCommand, event: SlashCommandInteractionEvent)