2.26.1 Why use the C++ exception mechanism in GCC, rather than a bespoke Modula-2 mechanism? ¶
The C++ mechanism is tried and tested, it also provides GNU Modula-2
with the ability to link with C++ modules and via swig it can raise
Python exceptions.