But like, what kind of error are you gonna handle that's coming from the DB, if it's something like a connection error because the DB is down
I could return 500 (getting Error) instead of 404 (getting None) or 200 (getting Some(results)) from my web app.
Or DB just timed out. The code that did the query is very likely the only code that can reasonably decide to retry for example.