GlobalExceptionHandlerContext

data class GlobalExceptionHandlerContext(val adviceInstance: Any, val handlerMethod: Method, val commandSenderIndex: Int?, val executedArgIndex: Int?, val commandArgIndex: Int?, val valuesIndex: Int?, val exceptionIndex: Int?)

Defines the context required to execute a VitalCommand.GlobalExceptionHandler annotated function.

Constructors

Link copied to clipboard
constructor(adviceInstance: Any, handlerMethod: Method, commandSenderIndex: Int?, executedArgIndex: Int?, commandArgIndex: Int?, valuesIndex: Int?, exceptionIndex: Int?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Internal function to correctly sort all injectable function parameters for a global exception handler and return them as an Array, so they can later be used to call their appropriate mapped global exception handler function.