Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function throw_last_error

boost::process::extend::throw_last_error

Synopsis

// In header: <boost/process/extend.hpp>


void throw_last_error(const std::string & msg);
void throw_last_error();

Description

Helper function to get and throw the last system error.

Parameters:

msg

A message to add to the error code.

Throws:

boost::process::process_error

PrevUpHomeNext