santiago_28407
santiago_2840715mo ago

TRPC cant handle Error

Stack Overflow
TRPC Handle TRPCError
I am making an app with next js and trpc, when I make a query with trpc and trhow an error occurs, the client side does not receive the error. My Page: "use client" import { useRouter,
1 Reply
Katzius
Katzius15mo ago
you didn't write how you init the trpc client maybe there you are catching the error

Did you find this page helpful?