<spanclass="RenoIncludeSPAN"> char const * <spanclass="RenoLink">diagnostic_information_what</span>( boost::<spanclass="RenoLink"><ahref="exception.html">exception</a></span> const & e ) throw();</span>
}</pre>
</div><p>The <spanclass="RenoLink">diagnostic_information_what</span> function is intended to be called from a user-defined std::exception::what() override. This allows diagnostic information to be returned as the what() string.</p>
<h4>Returns:</h4>
<p>A pointer to a zero-terminated buffer that contains a string similar to the std::string returned by the <spanclass="RenoLink"><ahref="diagnostic_information.html">diagnostic_information</a></span> function, or null to indicate a failure.</p>
<h4>Throws:</h4>
<p>Nothing.</p>
<h4>Note:</h4>
<p>The returned pointer becomes invalid if any <spanclass="RenoLink"><ahref="error_info.html">error_info</a></span> is modified or added to the exception object, or if another diagnostic information function is called.</p>