How do you guys handle server errors on tRPC

I wanted to know what methodologies or opinions some of you may have with regards to handling errors that come from the server or preventing/'doing another way' the if (error) ... lines on every file
2 Replies
scatter
scatter3y ago
useQuery and useMutation have an onError callback
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server