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

Boost Exception

boost/exception/errinfo_api_function.hpp

Synopsis

#include <boost/exception/error_info.hpp>

namespace
boost
    {
    typedef error_info<struct errinfo_api_function_,char const *> errinfo_api_function;
    }