Consider a following query:
If the column day exists, everything goes fine.
Now (day is an integer), the following query produces a nice JSON encoded error:
GET /resource/?day=f
... "Not a valid integer type: f", error 400
But if I try with non-existent column:
GET /resource/?f=6
sqlalchemy.exc.InvalidRequestError: Entity '<class 'utvsapi.models.Course'>' has no property 'f'
It blows an exception to the client.