Hey @rustlang twitter: any particular reason that there isn't an instance of std::error::Error for Arc<dyn std::error::Error>?
Would be quite useful when you want a cloneable dyn error for just exploring things without being bogged down in error handling intricacies...
-
-
But it will match `dyn Error`, resulting in same conflict again.
-
Match `dyn Error` for what?
- 3 more replies
New conversation -
-
-
But then you wouldn't be able to use ? With an Arc<dyn Error> right?
-
You'd need a `From` impl if you wanted to be able to put `?` on any error on a function returning `Arc<dyn Error>`, yes. That wasn't really the question that was asked though.
End of conversation
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.