Skip to content

Conversation

alxmrs
Copy link
Contributor

@alxmrs alxmrs commented Aug 28, 2022

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.

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.
@martindurant
Copy link
Member

Do you think you can create a test showing this in operation?

I think the idea is reasonable.

@ap--
Copy link
Contributor

ap-- commented Aug 31, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants