IllegalArgument

class IllegalArgument(exception: IllegalCommandArgumentException, command: Command, call: CommandCall, resolvedCall: ResolvedCommandCall) : CommandExecuteResult.Failure

执行执行时发生了一个非法参数错误

Constructors

IllegalArgument
Link copied to clipboard
fun IllegalArgument(exception: IllegalCommandArgumentException, command: Command, call: CommandCall, resolvedCall: ResolvedCommandCall)

Properties

call
Link copied to clipboard
open override val call: CommandCall

解析的 CommandCall (如果匹配到)

command
Link copied to clipboard
open override val command: Command

尝试执行的指令

exception
Link copied to clipboard
open override val exception: IllegalCommandArgumentException

指令执行时发生的错误

resolvedCall
Link copied to clipboard
open override val resolvedCall: ResolvedCommandCall

解析的 ResolvedCommandCall (如果匹配到)