RudejellyfishR
tRPC3y ago
3 replies
Rudejellyfish

TRPC Error Handling

I am using TRPC as my backend for my nextjs application. The one major problem i am facing is that, whenever I throw a new TRPC error, it crashes my frontend completely. I wanted to know whether, there is a better of handling errors and getting error message in a text ?

I am using TRPC with react query in the frontend Nextjs client and serving the api with a TRPC Express App.
Was this page helpful?