3 #include <msp/debug/demangle.h>
4 #include "errordialog.h"
11 bool ErrorDialog::report_uncaught_exception(const exception &e) const
13 string msg = Debug::demangle(typeid(e).name())+":\n"+e.what();
14 MessageBoxA(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR);
18 } // namespace Graphics