`Wrapping errors` does not give any examples of libraries that can help reduce boilerplate
jelacious opened this issue · 0 comments
jelacious commented
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.