Best way to catch/handle errors during streaming - TanStack