Not getting errors through #391
-
Hey, Thanks for the awesome package. I am sure I am missing something but when I make a request with Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, i am also have same issue, are you resolved this? |
Beta Was this translation helpful? Give feedback.
-
For React Query to catch errors, they must be thrown inside your query function. If you are using |
Beta Was this translation helpful? Give feedback.
For React Query to catch errors, they must be thrown inside your query function. If you are using
fetch
for example, it doesn't throw on a network error by default.