ArgumentParsingException
open class ArgumentParsingException(val reason: Key, val argument: Argument<*>?, val arguments: Arguments, val parser: StringParser?) : DiscordRelayedException
Thrown when something happens during argument parsing.
Parameters
reason
Translation key representing the failure reason.
argument
Current Argument object, if any.
arguments
Arguments object for the command.
parser
Tokenizing string parser used for this parse attempt, if this was a chat command.