Skip to content
Discussion options

You must be logged in to vote

Hi @tchardin, the majority of errors thrown by a database query are programmer error, not user error. For example, executing a malformed query. Those kinds of errors aren't helpful to show to the user because there's nothing they can do to fix it.

But, if there are user facing errors that could be emitted from a query, such as a validation error, then you would not use withErrorReporting and instead catch the error and surface it to the user in some way. We just don't have any examples of that in our demos.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tchardin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants