Quantcast
Viewing all articles
Browse latest Browse all 43

Comment by HMR on Modify trpc error before sending the response

@Unmitigated Yes, I did try opts.error = new TRPCError({message: 'changed error',code: 'INTERNAL_SERVER_ERROR',}) and opts.error.message="changed" but that did not change the error returned by the server.

Viewing all articles
Browse latest Browse all 43

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>