[FEA] Allow capturing cudf specific exceptions in cudf.pandas
by using ExceptionGroup in Python 3.11
#14379
Labels
cudf.pandas
Issues specific to cudf.pandas
feature request
New feature or request
Python
Affects Python cuDF API.
Milestone
Is your feature request related to a problem? Please describe.
Currently when using
cudf.pandas
, there's no way to capture or act on the cudf exception thrown whether the operation succeeds or fails on during the pandas path.Describe the solution you'd like
If
_fast_slow_function_call
was structured like:Additional context
Admittedly I don't have a definitive use case where capturing the cudf exception is necessary, and using ExceptionGroup might break "drop in replacement" potential of
cudf.pandas
, but noting that this is a limitation in the current designThe text was updated successfully, but these errors were encountered: