Skip to content

Expose an retryError on useQuery when retrying #4305

Answered by TkDodo
Kuirak asked this question in Ideas
Discussion options

You must be logged in to vote

Yeah I think this would be possible. We have a fail action internally that has access to the "current error", but right now, it only increments the failureCount. Not sure about the naming though, maybe failureReason would be better? Suggestions and PRs welcome :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kuirak
Comment options

Answer selected by Kuirak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants