sendFailure

open fun sendFailure(exception: CommandSyntaxException)

Sends the exception's message to the source as a command failure, unless the source isSilent.

This is the counterpart of vanilla's CommandSourceStack#handleError: only the raw message is sent, without the input context.

Parameters

exception

The exception to report.