Extract message from TRPCError

Depending on how you are throwing the error from the backend are you using throw new TRPCError
Or just object
Was this page helpful?