3 ms·
I agree that it's not ideal, but using something like anyhow/l and thiserror honestly doesn't feel _that_ bad. > Something that should be supported directly.
by spoiler 2y ago
I agree that it's not ideal, but using something like anyhow/l and thiserror honestly doesn't feel _that_ bad.
> Something that should be supported directly.
Rust has "adapted" some crates into stdlib in the past. Are there any efforts to that for error handling?
- pjmlp 2y agoSo far only the related traits. That is the kind of excuse we give in C and C++ land, using static analysis isn't that bad.
- steveklabnik 2y agoWe're on the like, third (fourth?) generation of error handling crates, and while there's some degree of consensus happening, I'm not sure that it's time for it yet. If Rust had adopted error_chain into the stdlib, that would have been a huge mistake.