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

Add 404 error handling where necessary #169

Open
A-Baji opened this issue Sep 29, 2023 · 0 comments
Open

Add 404 error handling where necessary #169

A-Baji opened this issue Sep 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@A-Baji
Copy link
Collaborator

A-Baji commented Sep 29, 2023

#168 added exceptions for SchemaNotFound and TableNotFound. These exceptions need to be raised wherever an invalid (nonexistant) schema or table name can be passed in as a parameter. _list_tables and _get_table_object are already handled.

Additionally, these errors need to get caught and returned as 404 responses in the standard pharus routes.

@A-Baji A-Baji added the enhancement New feature or request label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant