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.
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