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

overhaul exception handling #307

Open
stchang opened this issue Jul 14, 2022 · 0 comments
Open

overhaul exception handling #307

stchang opened this issue Jul 14, 2022 · 0 comments

Comments

@stchang
Copy link
Member

stchang commented Jul 14, 2022

Jotting down some notes from discussion with @gamburgm

RacketScript runtime throws exceptions in different ways right now:

Ideally, RS would have one unified api for errors, and use it consistently everywhere.

One complicating factor is that different parts of Racket itself doesnt respect abstractions sometimes:

  • sometimes the high level API is used, e.g., error or raise-arguments-error
  • other times, low level constructs are used, e.g., raise <exn struct>

So any solution would need to be handle both scenarios above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant