Box<dyn std::error::Error> is almost as good
-
-
-
Oh yeah, forgot the dyn there. Automatic casting from say std::io::Error is missing tho which makes it often incompatible where failure::Error always works.
- 1 more reply
New conversation -
-
-
still broken on Android though :/
-
Failure is? Oh no!
- 3 more replies
New conversation -
-
-
lol, I literally just came out of a long discussion about how problematic failure::Error is.
-
Hah, well yeah I strongly prefer it over writing bespoke variations of Box<std::error:Error + Send + Sync + 'static> all over the place.
End of conversation
New conversation -
-
-
I mentioned this, but std::error::Err would be great.
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.