You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be backwards-compatible and allow the user to add custom wrappers - even have #[deriving(WrapError)] on enums.
Too bad it requires better coherence - see rust-lang/rfcs#48 - and something like #13702 for the default in wrap_error's definition (without which the change to try! is a backward-compat hazard).
It would be useful in functions that can fail in different ways from the functions it calls itself, allowing something like:
The text was updated successfully, but these errors were encountered: