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 some kind of error handler to Calc so we can trap / handle errors if desired, instead of just halting always #670

Open
rlwhitcomb opened this issue Apr 14, 2024 · 0 comments
Assignees

Comments

@rlwhitcomb
Copy link
Owner

rlwhitcomb commented Apr 14, 2024

Couple of problems:

  • Syntax errors will terminate the parser, so that won't work to trap those
  • Several different kinds of exceptions are thrown during execution, so are there different kinds of handling?
  • Don't even know how to handle continuing if we simply trap exceptions -- we'll have to decide before the "throw" what we're going to do, which is VERY complicated for exceptions thrown from the lower levels
@rlwhitcomb rlwhitcomb self-assigned this Apr 14, 2024
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