[#subprocess-CalledProcessError-2constructor] = xref:subprocess.adoc[subprocess]::xref:subprocess/CalledProcessError.adoc[CalledProcessError]::CalledProcessError :relfileprefix: ../../ :mrdocs: Builds the error from a message and the child's return code. == Synopsis Declared in `<util/subprocess.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CalledProcessError( std::string const& error_msg, int retcode); ---- == Parameters [cols="1,4"] |=== | Name| Description | *error_msg* | Description of the failure. | *retcode* | Return code reported by the child process. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#