server function error handling - TanStack