How to handle server errors on the client side? - TanStack