So I guess the follow up question here is: why do you all still use std::error?https://twitter.com/mitsuhiko/status/987234121117261824 …
-
-
On the other hand because errors are so unconstrained in rust currently generic apis can’t do much with them. For instance they are entirely useless for sentry atm.
-
But Fail is Send + Sync. So user would be able to send ResponseFail to different thread
- 2 more replies
New conversation -
-
-
Those are exceptional cases. The response is already not sync so you can justs wrap it in a hypothetical ResponseFail that syncs.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.