Advice

@Component
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Advice(val commandSenderClass: KClass<out Any>)

Marks the annotated class to be used as a global command exception handler. This class may define multiple VitalCommand.GlobalExceptionHandler annotated functions to handle exceptions during command execution.

Properties

Link copied to clipboard