CommandArgumentError
Hierarchy
- CommandError
- CommandArgumentError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
argument: string
The argument that could not be read.
Returns CommandArgumentError
Properties
readonlyargument
The argument as it was given.
Thrown when a command is given an argument it cannot read.
Errors/Command
When a command's argument is not in the form the command expects.