Is there a pattern for omitting certain types of errors from being returned in the API response
I'd prefer not to expose the ORM queries being used in my resolver. I'm already providing an onErroronError function to send these errors to Sentry, but I can't figure out from the docs how to actually change the error message returned to the API caller.
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.