How to extend trpc's default error codes?
I need to add more error codes to make error processing on the front-end easier. I tried adding a
trpc.d.ts
in the types folder.
But it ain't working. How do you usually go about this?0 Replies