T
tRPC
Streaming responses (eg. for streaming ai chat completion text)
Streaming responses (eg. for streaming ai chat completion text)
Looking for more? Join the community!
T
tRPC
Streaming responses (eg. for streaming ai chat completion text)
T
tRPC
Streaming responses (eg. for streaming ai chat completion text)
Recommended Posts
Handling errors on the front-endI'm making a mutation from my front-end and I intentionally throw a new TRPCError on my backend, I cTypeScript Alias Imports don't get resolved ont the ClientI have a Monorepo with a multiple `/packages/*` packages, each has its own `tsconfig.json`. I noticmerging other routers to appRouterHey everyone, I am using the https://icflorescu.github.io/trpc-sveltekit package in my SvelteKit proCan I get non-redacted INTERNAL_SERVER_ERRORS in production?I'm trying to debug crashes in production, and having a hard time. As far as I can tell, errors are Error handling: Zod errors and manually thrown TRPCErrors have different shapeIf zod validation fails, the client-side `error.message` contains a JSON encoded array of errors, buprefetch() within getServerSideProps does not provide data upon manual refreshingWithin getServerSideProps:
`await ssh.user.getDepositInfo.prefetch(userId);`
`await ssh.user.getFQO