Customizing the TRPCError type
I can't find anything in the docs about customizing the TRPCError type if I need to transmit extra properties etc along with the errors, or adding custom error codes. Can I amend the TRPCError type with my own interface?
What is the "correct" way to do this?
0 Replies