Error handling
I want to throw for second call when http response code is 500
const {data, isLoading, refetch, fetchNextPage} = useGetDeckSuspenseInfiniteQuery()
Steps to reproducate:
1. Load list: http 200
2. Change backend code to get http 500
3. Refrech list (called refetch, http code is 500)
It throws when first list load is http 500
But it not throws error because there is a previous data.
How can I throw it? What missing?
Thank you !



