Skip to content
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

Better error message when deleting collection with children #28

Open
geospatial-jeff opened this issue Feb 10, 2021 · 0 comments
Open

Comments

@geospatial-jeff
Copy link
Collaborator

ForeignKeyViolation returns an error message that makes sense within the context of creating an item that does not have a parent collection, but makes no sense when deleting a collection with children. I think generally we need a better way to inject error handling logic, because exceptions mean different things based on the context.

Ref stac-utils/stac-fastapi#78

@gadomski gadomski transferred this issue from stac-utils/stac-fastapi May 11, 2023
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