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

Consider using Snafu to define Error types #86

Open
alxiong opened this issue Jul 27, 2022 · 1 comment
Open

Consider using Snafu to define Error types #86

alxiong opened this issue Jul 27, 2022 · 1 comment

Comments

@alxiong
Copy link
Contributor

alxiong commented Jul 27, 2022

As a follow-up of #84 where we remove Snafu on jf-utils's TaggedBlobError temporarily.

We aim to try to use Snafu among all jf-* crates and enabled for all the error types we defined and we internally depend on (such as TBase64Error etc)

cc @jbearer

@ggutoski
Copy link
Contributor

Jeb and I briefly discussed enforcing a library-wide anyhow-only policy. Anyhow is far more ergonomic when it's used everywhere. Otherwise there's a constant need for boilerplate code to translate among error types and cruft at every ?.

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