t
tRPC
M
tRPC
β’
3y ago
β’
2 replies
Mattèo
How to handle Query Errors on client side (show toast on 401)
Hey
! Hope you
're doing well
! I wanted to know if someone can explain to me how to handle errors on the client
(using Next
.js
)
.
I need to handle UNAUTHENTICATED error on client because when a user tries to access a resource I want to display a feedback toast
.
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
Similar Threads
React Query client errors on 401
Q
Quinten / β-help
3y ago
How to properly handle errors on the client
K
Kamil / β-help
9mo ago
How to handle consistency for client-side only APIs?
X
Xavier / β-help
14mo ago