TRPC error handling (on client) is confusing
I'm not quite sure whether I'm doing this wrong or this is just how it's supposed to be, and I don't like it.
Like, this work as intended, but then I get the "Uncaught" error in the console, and this makes no sense to me.
3 Replies
And this is how I'm throwing the error
So I'm wondering, isn't "onError" already handling the error? Then how is it uncaught?
so many questions about trpc error handling in the app router but no answers