GlobalErrorHandler

Handles error messages for command execution.

Properties

Link copied to clipboard
var errorHandler: (CommandContext<CommandSourceStack>, ComponentBuilder.() -> Unit) -> Unit

The default error message handler.

Functions

Link copied to clipboard
fun updateErrorHandler(handler: (CommandContext<CommandSourceStack>, ComponentBuilder.() -> Unit) -> Unit)

Sets a global error message handler.