The error function does not work. #1118
Unanswered
LeonYanghaha
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used the following code to create the client. However, when an error occurs on the server, the error message is still printed directly to the conoele and is not captured by the error function. Why?
Of course, I know that setting
errorpolicy: 'all'
can prevent error messages from appearing in the console. I want to do it now: in theerror
function, I receive an error message, such as theparams error
string in the image. Who can tell me how to write it? Thank you very much for your help.Beta Was this translation helpful? Give feedback.
All reactions