On Wednesday, 24 September 2014 at 15:07:05 UTC, Andrei Alexandrescu wrote: > I wonder how difficult would be to create a wrapper class > CppException for everything derived from C++ std::exception. Why not catch std::exception directly? Then you could generate code, just like C++ compiler does it.