error route always getting 500 from trpc error? (next13/approuter)
I've got this condition for throwing in my trpc procedure:
and on client I have a next13
error.tsx
route, in which I do:
errorCode
is always 500 when we throw from that condition. No matter the code I pass when I throw1 Reply
Bumping this. Cant figure it out for the life of me