Y
Hacker News
new
|
ask
|
show
|
jobs
by
colanderman
351 days ago
thiserror automates all of that:
https://docs.rs/thiserror/latest/thiserror/
Highly recommended.
1 comments
conaclos
351 days ago
Sure, but it's an additional dependency. I would prefer it if some of this machinery were added to `core`.
link