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

error handling reform #9

Open
rrbutani opened this issue May 29, 2022 · 0 comments
Open

error handling reform #9

rrbutani opened this issue May 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rrbutani
Copy link
Member

rrbutani commented May 29, 2022

Another thing to do on the path to becoming user-friendly.

We should:

  • switch to color-eyre
  • add better error messages/more context (for common things like the board not being found, etc.)
  • for errors that are "unexpected" we should have something like this
@rrbutani rrbutani added the enhancement New feature or request label May 29, 2022
@rrbutani rrbutani self-assigned this May 29, 2022
@rrbutani rrbutani changed the title switch to anyhow or eyre for errors error handling reform May 29, 2022
rrbutani added a commit that referenced this issue May 29, 2022
See #9. We'll want to eventually switch to `eyre` so
that `.unwrap`s have nice backtraces, etc.
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