subprocess::CalledProcessError::CalledProcessError

Builds the error from a message and the child's return code.

Synopsis

Declared in <util/subprocess.h>

CalledProcessError(
    std::string const& error_msg,
    int retcode);

Parameters

NameDescription
error_msgDescription of the failure.
retcodeReturn code reported by the child process.