ExceptionHandlerImpl

class ExceptionHandlerImpl : ExceptionHandler

Functions

onException
Link copied to clipboard
open override fun onException(ex: Exception, command: BaseSlashCommand, event: CommandAutoCompleteInteractionEvent)
open override fun onException(ex: Exception, command: BaseSlashCommand, event: SlashCommandInteractionEvent)
onInteractionTargetMismatch
Link copied to clipboard
open override fun onInteractionTargetMismatch(ex: InteractionTargetMismatch)
onPermissionLackException
Link copied to clipboard
open override fun onPermissionLackException(ex: PermissionsLackException)
wrap
Link copied to clipboard
open fun wrap(e: Exception, command: BaseSlashCommand, event: CommandAutoCompleteInteractionEvent)
open fun wrap(e: Exception, command: BaseSlashCommand, event: SlashCommandInteractionEvent)