Some time ago I proposed adding a field with the offending filename (if any) to io::Error
. It was shot down largely because people didn't want io::Error
to have to box up any variable-sized data. I still wish it did, but I can see where they're coming from.
2 Likes