Register

class Register(commandClass: Class<out VitalCommand<*>>, cause: Throwable) : VitalCommandException

Internal exception; thrown when an exception occurs while registering a command.

Constructors

Link copied to clipboard
constructor(commandClass: Class<out VitalCommand<*>>, cause: Throwable)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard

Extracts the first non-InvocationTargetException from the given Throwable. This function will be used during exception handling to extract the actual exception that occurred.