Skip to content

Add a GroupNotFoundError #3066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dstansby
Copy link
Contributor

Fixes #2298.

Note I also updated the base zarr exception to no longer inherit from ValueError, because in general errors we raise are not always ValueErrors. I'll add a separate release note for this change.

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label May 16, 2025
@dstansby dstansby force-pushed the groupnotfounderror branch from 5d8f611 to fedf099 Compare May 21, 2025 11:40
@github-actions github-actions bot removed the needs release notes Automatically applied to PRs which haven't added release notes label May 21, 2025
@dstansby dstansby marked this pull request as ready for review May 21, 2025 12:18
@d-v-b
Copy link
Contributor

d-v-b commented May 21, 2025

would you want to get the other missing errors in here? you could take some of #3012

@d-v-b
Copy link
Contributor

d-v-b commented May 21, 2025

also worth noting that changing the type of the base exception is breaking, because try... catch ValueError would have worked before and will not after this change.

@dstansby
Copy link
Contributor Author

I didn't spot #3012, thanks! I'll put this back in draft and have a think when I've got a bit more time.

@dstansby dstansby marked this pull request as draft May 21, 2025 12:49
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.

Raise specific errors when failing to open a group.
2 participants