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

Name

Description

error_msg

Description of the failure.

retcode

Return code reported by the child process.

Created with MrDocs