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

Fine grained errors #33

Open
Michael-F-Bryan opened this issue Sep 23, 2022 · 0 comments
Open

Fine grained errors #33

Michael-F-Bryan opened this issue Sep 23, 2022 · 0 comments

Comments

@Michael-F-Bryan
Copy link
Contributor

It would be nice if the wit-pack CLI could differentiate between different types of errors (invalid input, IO, rendering error, etc.) so it can provide feedback to users or automatically retry.

This will involve switching the wit-pack crate from anyhow::Error to a proper error type, then match on it in the CLI.

Cc: @ayys

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