Project: datamanagement
Issue DM-6783: Add support for deriving from Python exception types to pybind11
DM-6302 adds support for custom exception translators to pybind11. However exceptions mapped do not inherit from Python {{BaseException}} or higher. This prevents exceptions from being raised and caught with {{except Exception as e}} in Python. This behaviour also occurs with Boost Python and Swig (we hack around it with a pure Python wrapper). This ticket aims to solve the problem by adding support for inheritance from Python exception types to pybind11.
Story points: 4