TanStackT
TanStack7mo ago
10 replies
foolish-indigo

propagating errors to global error boundary

I am running a queryClient.fetchQuery inside of an onChange validator... when it throws a server error, I want it to use my global error boundary, but I'm noticing that it's getting swallowed and is just getting set to the localized error object, is there a way around this?
Was this page helpful?