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

Name

Description

err_msg

Description of the failed operation.

err_code

System error code (errno) whose string form is appended to the message.

Created with MrDocs