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.
2 Replies
Error Formatter
š
Thanks!