gcsfs
gcsfs copied to clipboard
For `_rm`, raise multiple exceptions instead of the first.
I'm following this example to raise multiple exceptions, with the intention that this will help me better debug a GCS error: https://stackoverflow.com/a/50414672.
Do you think you can create a test showing this in operation?
I think the idea is reasonable.
This seems to be related to ExceptionGroups There's also a backport: https://github.com/agronholm/exceptiongroup
And here's a relevant discussion https://discuss.python.org/t/accepting-pep-654-exception-groups-and-except/10813/41