2 #include <msp/debug/demangle.h>
3 #include <msp/io/print.h>
4 #include "application.h"
10 void Application::display_exception(const exception &e)
12 IO::print(IO::cerr, "An uncaught exception occurred.\n");
13 IO::print(IO::cerr, " type: %s\n", Debug::demangle(typeid(e).name()));
14 IO::print(IO::cerr, " what(): %s\n", e.what());