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

Add support for explicitly chaining exceptions (Python's BaseException.__cause__) #862

Closed
chrisrink10 opened this issue Feb 7, 2024 · 0 comments · Fixed by #863
Closed
Assignees
Labels
component:compiler Issue pertaining to compiler issue-type:enhancement New feature or request

Comments

@chrisrink10
Copy link
Member

Right now it is not possible to explicitly chain exceptions using the throw special form in Basilisp. We should add support for throwing with an explicit cause as by Python's raise ... from ... statement.

@chrisrink10 chrisrink10 added issue-type:enhancement New feature or request component:compiler Issue pertaining to compiler labels Feb 7, 2024
@chrisrink10 chrisrink10 added this to the Release v0.1.0 milestone Feb 7, 2024
@chrisrink10 chrisrink10 self-assigned this Feb 7, 2024
chrisrink10 added a commit that referenced this issue Feb 7, 2024
…l form (#863)

Fixes #862

---------

Co-authored-by: Christopher Rink <christopher@ChristophersMBP.cjlocal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:compiler Issue pertaining to compiler issue-type:enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant