updateErrorHandler
fun updateErrorHandler(handler: (CommandContext<CommandSourceStack>, ComponentBuilder.() -> Unit) -> Unit)
Sets a global error message handler.
Parameters
handler
the handler to use
Sets a global error message handler.
the handler to use