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

Unify Error Handling #108

Open
d-xo opened this issue May 11, 2021 · 0 comments
Open

Unify Error Handling #108

d-xo opened this issue May 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@d-xo
Copy link
Collaborator

d-xo commented May 11, 2021

The parser & typechecker currently make use of the Err monad from ErrM. The analysis backends currently have no consistent error handling approach and mostly just call error if something unexpected happens.

We should generalise the Err monad so that it can be used by the various backends and rework them so that functions that can fail return an Err.

@d-xo d-xo added the enhancement New feature or request label May 11, 2021
@ethereum ethereum deleted a comment from staccDOTsol Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant