[FEA] Update Cython bindings to catch C++ exceptions #862
Labels
feature request
New feature or request
libcudf
Affects libcudf (C++/CUDA) code.
proposal
Change current process or code
Python
Affects Python cuDF API.
Is your feature request related to a problem? Please describe.
The Cython bindings for libcudf should be updated to catch C++ exceptions and convert them to relevant Python exceptions where appropriate.
Describe the solution you'd like
Looking at the Cython documentation, it is straightforward to modify a Cython function to catch C++ exceptions.
It mainly entails adding
except +
to the Cython wrappers of libcudf functions.The text was updated successfully, but these errors were encountered: