t
tRPC
S
tRPC
•
4y ago
•
5 replies
sh03
How to manage custom errors (e.g. custom error codes) in tRPC?
What
's the recommended way to add fields to a TRPCError
? How do you make that typesafe also on the client
(e
.g
. custom error code is a specific union type
)
.
Thanks
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No