subprocess::OSError::OSError

Builds the error by appending the string form of a system error code to a message.

Synopsis

Declared in <util/subprocess.h>

OSError(
    std::string const& err_msg,
    int err_code);

Parameters

NameDescription
err_msgDescription of the failed operation.
err_codeSystem error code (errno) whose string form is appended to the message.