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

Wrapping errors does not give any examples of libraries that can help reduce boilerplate #1773

Closed
jelacious opened this issue Nov 21, 2023 · 0 comments · Fixed by #1803
Closed

Comments

@jelacious
Copy link

The Wrapping errors subheading suggests using "libraries" for handling error wrapping boilerplate but does not suggest any popular libraries that could help with that. The one example I can think of right now is thiserror, but including more examples would definitely be nice to give people several options.

Since, thiserror is so popular one could also consider giving a quick example showcasing how it does reduce the impl From and impl std::error::Error for boilerplate.

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

Successfully merging a pull request may close this issue.

1 participant