Handling HTTP errors using Fetch with useQuery - TanStack