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

Refactor error handling #87

Closed
kevaundray opened this issue Jun 21, 2021 · 1 comment
Closed

Refactor error handling #87

kevaundray opened this issue Jun 21, 2021 · 1 comment
Labels

Comments

@kevaundray
Copy link
Contributor

Currently, the code has a lot of unstructured error variants, which seem to be a code smell.

There is already an issue open for this, however it seems that changing the way we handle errors would be better. Rust for example uses structs and proc macros for example, which is analogous to the error variant strategy. rslint on the other hand, seems to inline their errors.

The first step towards closing this would be to refactor noirc_errors

@kevaundray
Copy link
Contributor Author

This now seems like a copy of #11, so closing

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

No branches or pull requests

1 participant