Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support throwing specific Python exceptions from Scala callbacks #190

Open
shadaj opened this issue Jun 2, 2021 · 0 comments
Open

Support throwing specific Python exceptions from Scala callbacks #190

shadaj opened this issue Jun 2, 2021 · 0 comments
Milestone

Comments

@shadaj
Copy link
Member

shadaj commented Jun 2, 2021

Right now, all Scala exceptions are wrapped into a generic Python exception type (with the exception of a special case for IndexOutOfBounds). We should support throwing specific Python exception types by wrapping the Python instance of that extension into a Scala extension type. Ideally, this wrapper will also be used in the reverse direction to wrap any Python exceptions that are raised when calling external APIs.

Related: #141

@shadaj shadaj added this to the v0.6.0 milestone Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant