WriteError(Command, CommandRunConfig, CommandException) Method

Definition

Assembly XenoAtom.CommandLine.dll

Renders a command exception (parse error, validation error, and so on).

void WriteError(Command command, CommandRunConfig runConfig, CommandException exception)

Parameters

command
Command

The command that was being parsed when the error occurred.

runConfig
CommandRunConfig

The run configuration providing output streams.

exception
CommandException

The exception describing the error.