I want my program to only error on sql syntax errors however it also errors on empty queries, non existent columns, rows, ids, etc. The best solution to this would be to use try except, however the exceptions aren't descriptive enough for that to work.
I feel like better exceptions might solve other, unforeseen problems as well so maybe its something that should be improved?
I want my program to only error on sql syntax errors however it also errors on empty queries, non existent columns, rows, ids, etc. The best solution to this would be to use try except, however the exceptions aren't descriptive enough for that to work.
I feel like better exceptions might solve other, unforeseen problems as well so maybe its something that should be improved?