tRPCttRPC
Powered by
Ahmed EidA
tRPC•4y ago•
2 replies
Ahmed Eid

when throwing a TRPCError, is there a way to include an internal error code ?

for the given screenshot, if such error happens I wanna prompt the user to login or something.
Screen_Shot_2022-09-22_at_01.50.07.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Client receives 200 status when throwing TRPCError
BumblebeeBBumblebee / ❓-help
14mo ago
Use onError to change an application error into a TRPCError?
JavascriptMickJJavascriptMick / ❓-help
3y ago
How to map internal errors to TRPCError types?
ivanIivan / ❓-help
5mo ago
Error: TRPCError: A non-domain error occurred
'tonyyprints'''tonyyprints' / ❓-help
2y ago