Tell SWIG to propagate PISM's exceptions to Python.