ReturnValueException

Exception, to be thrown when an executed command returns an error value.

It is a normal Exception but with an attached command and return value.

Constructors

this
this(string message, string file, size_t line, Throwable nextInChain)

Create a new ReturnValueException, without attaching anything.

this
this(string message, string command, string file, size_t line, Throwable nextInChain)

Create a new ReturnValueException, attaching a command.

this
this(string message, string command, int retval, string file, size_t line, Throwable nextInChain)

Create a new ReturnValueException, attaching a command and a returned value.

Members

Variables

command
string command;

The command run.

retval
int retval;

The value returned.