server-side-calls
About server-side-calls
Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill server-side-callsAfter installing, type/server-side-callsin Claude Code to confirm it loaded.
Comments
Markdown supported