1 #include "errordialog.h"
3 #include <msp/core/application.h>
4 #include <msp/debug/demangle.h>
5 #include "cocoaerrordialog.h"
12 bool ErrorDialog::report_uncaught_exception(const exception &e) const
15 if(Application::get_data())
17 string type = Debug::demangle(typeid(e).name());
18 run_alert(type.c_str(), e.what());
24 } // namespace Graphics