# Boost Exception

### original_exception_type

#include <boost/exception_ptr.hpp>

    namespace
    boost
        {
        typedef error_info<struct tag_original_exception_type,std::type_info const *> original_exception_type;
        }

This error_info typedef is used by current_exception if it defaults to returning an exception_ptr that refers to an object of type unknown_exception, to record in it the std::type_info of the original exception object.

See also: boost/exception_ptr.hpp | current_exception