centralizing errors
#6367
-
I want to centralize error with API calls, and some months ago I have been able to do the below code, why can't I do this any more?
|
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Nov 15, 2023
Replies: 1 comment 2 replies
-
So you updates to v5 and didn't read the migration guide? https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5#callbacks-on-usequery-and-queryobserver-have-been-removed I mean the toast example is literally in the linked blogpost ... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, that's fine. Have you read the blogpost? Because everything is explained there ...