Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jim-at-jibba
Comment options

@orest22
Comment options

@Wellers0n
Comment options

Answer selected by jim-at-jibba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #391 on April 24, 2020 15:17.