Remove safe_qgis.exceptions dependence from impact functions