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

Use thiserror instead of anyhow? #10

Open
hch12907 opened this issue Sep 15, 2023 · 1 comment
Open

Use thiserror instead of anyhow? #10

hch12907 opened this issue Sep 15, 2023 · 1 comment

Comments

@hch12907
Copy link

anyhow::Error is an opaque type and dynamically dispatched. It can be useful to present errors as an enum in order for downstream users to see what error has occurred.

@cathay4t
Copy link
Member

Personally, I am not fan neither anyhow or thiserror. I intend to impl all traits manually. Currently, this anyhow is making my debug life worse as it only show top level error by default.

In generate, pull request for removing anyhow is welcome. I can remove thiserror later.

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

2 participants