sendError

fun CommandContext<CommandSourceStack>.sendError(consumer: ComponentBuilder.() -> Unit)

Sends an error message to the command sender.