Skip to content

Support for structural subtyping of exceptions? #16

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

Open
kylebarron opened this issue May 8, 2025 · 0 comments
Open

Support for structural subtyping of exceptions? #16

kylebarron opened this issue May 8, 2025 · 0 comments

Comments

@kylebarron
Copy link
Member

Exceptions only support nominal subtyping (subclassing) and not structural subtyping (protocols). This means that obstore wouldn't be able to use these same exceptions without relying on obspec which gets us into circular dependencies.

Ref developmentseed/obstore#342

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

No branches or pull requests

1 participant