subprocess::CalledProcessError

class: CalledProcessError Thrown when there was error executing the command. Check Popen class API's to know when this exception can be thrown.

Synopsis

Declared in <util/subprocess.h>

class CalledProcessError
    : public std::runtime_error

Base Classes

NameDescription
std::runtime_error

Member Functions

NameDescription
CalledProcessError [constructor]Builds the error from a message and the child's return code.
operator=
what [virtual]

Data Members

NameDescription
retcode Return code reported by the child process.