A set of wrapper functions to reduce the generated code overhead of 'throwing' an exception in C++