t
tRPC
Is there a pattern for omitting certain types of errors from being returned in the API response - tRPC
U
tRPC
•
3y ago
•
4 replies
umariomaker
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
onError
onError
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
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
What is the pattern for unsubscribing from a subscription?
R
reepicheep / ❓-help
3y ago
Types not being shared with the frontend
S
scrubbuddy / ❓-help
2y ago