1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "vmime/vmime.hpp" void handle_vmime_exception(vmime::exception *e); void handle_std_exception(std::exception *e); class silent_exception : public std::runtime_error { public: silent_exception() : std::runtime_error("") { } // virtual ~Exception() noexcept {} };