umariomaker
umariomakerā€¢17mo 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ā€¢17mo ago
Error Formatter šŸ˜‰
umariomaker
umariomakerOPā€¢17mo ago
Thanks!

Did you find this page helpful?