How to implement error handling globally for GraphQL mutation? #3383
-
My stack is:
I use Hasura Actions to connect to REST API and I need to implement global error handling for all mutations. For example I have useAuthentication hook that returns a signOut promise:
When the server is down mutation returns error I know about My URQL Client looks like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Closed as duplicate of #3373 |
Beta Was this translation helpful? Give feedback.
Closed as duplicate of #3373