diagnostic_information

# Boost Exception

### diagnostic_information

#include <boost/exception/diagnostic_information.hpp>

    namespace
    boost
        {
        std::string diagnostic_information( std::exception const & x );
        }

#### Returns:

If dynamic_cast<boost::exception const *>(&x) is not null, the returned string is initialized by a call to exception::diagnostic_information; otherwise, the returned string combines the output of x.what() and typeid(x).name().

### See Also:

Boost Exception
boost/exception/diagnostic_information.hpp
exception::diagnostic_information