Currently, if we want to properly map errors with a bit of context, we'd need to use map_err each time and do external matches.
It would be nice if this handled internally, maybe via a trait and associated functions.
This would be done to remove redundancy.
Currently, if we want to properly map errors with a bit of context, we'd need to use
map_erreach time and do external matches.It would be nice if this handled internally, maybe via a trait and associated functions.
This would be done to remove redundancy.