umariomaker
umariomaker•2y ago

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 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.
No description
2 Replies
Nick
Nick•2y ago
Error Formatter šŸ˜‰
umariomaker
umariomakerOP•2y ago
Thanks!

Did you find this page helpful?