You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using apollo-composable and i'm using state refs (error, loading etc.) in the template to display error messages. In the default error policy it detects the error and shows error message properly but still, an uncaught error is thrown into console. While using other error policies than default, my mutation does catch the error, but nothing is passed into error ref and therefore no message is displayed in component. What is the right way to handle errors while using composables?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using apollo-composable and i'm using state refs (error, loading etc.) in the template to display error messages. In the default error policy it detects the error and shows error message properly but still, an uncaught error is thrown into console. While using other error policies than default, my mutation does catch the error, but nothing is passed into error ref and therefore no message is displayed in component. What is the right way to handle errors while using composables?
Beta Was this translation helpful? Give feedback.
All reactions