CommandException

fun <T : Exception> CommandException(exception: T, event: CommandEvent<*>)

Parameters

event

The CommandEvent that threw this exception.