cc/ @davidtolnay
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Can you expand on how QoL has improved?
-
Multiple people have reached out about the improved readability of error messages. We interop with the standard trait now. We have a clean split between dynamic and structured error handling.
End of conversation
New conversation -
-
-
Honestly, I’m highly tempted to just drop back to std Error at this point. The number of time I’ve converted is getting a bit onerous.
-
std::error::Error is totally usable now! Maybe use `thiserror` to generate nice structured errors though.
End of conversation
New conversation -
-
-
But literally everyone including you told me to use failure!
-
That was a while ago though! std::error::Error wasn't ready yet
- 2 more replies
New conversation -
-
-
Urg, this whole error debate again... Using just the std errors was good enough for me and I don't have to migrate once a year to a new preferred way to handle them. :)
-
Using std::error::Error is acceptable to me now! It wasn't in the past, but is good now. thiserror is a good choice for elegantly making those errors. anyhow is nice if you have dynamic errors. I don't feel this guidance is in conflict with your sentiment.
- 1 more reply
New conversation -
-
-
Is there a blog post written about this migration?
-
Nope, but I'm more than happy to answer any questions you may have
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Been known to wander around interesting parts of the planet.
Opinions my own, not my employers.
he/him 