Rudejellyfish
Rudejellyfish
TtRPC
Created by Rudejellyfish on 8/16/2023 in #❓-help
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.
4 replies