Renders a command exception (parse error, validation error, and so on).
void WriteError(Command command, CommandRunConfig runConfig, CommandException exception)
The command that was being parsed when the error occurred.
The run configuration providing output streams.
The exception describing the error.