Help: Global Error Handler - isQuery /isMutation / meta #5048
                  
                    
                      AndreaCuneo
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to centralize the handling of errors for queries and to centralize handling of mutations' promises.
I've read docs regarding using a Redux Middleware for Global Errors but I'm seeking a more refined behavior thus asking here for suggestions.
I'm using React and Typescript.
The wanted behaviours are:
How can:
Any suggestions/pointers would help.
Beta Was this translation helpful? Give feedback.
All reactions