That's a good idea. The problem is that we have
a lot of functions that throw exceptions, and I guess the best way to place them in wrappers is to use attributes with
Attribute::Handlers. I don't know if I want to edit dozens of libraries to add attributes to functions, but I just may have to.
The test suite also needs improvement.