t
tRPC
Handling Query Errors at Root of App (v9) - tRPC
N
tRPC
•
4y ago
•
2 replies
Nick
Handling Query Errors at Root of App (v9)
I want to show an error toast on my
NextJS
NextJS
frontend every time there is an error from
useQuery
useQuery
in a functional component
. Is there a way to add something at the root of my app that can watch for trpc errors or do I have to handle it at every use of
useQuery
useQuery
?
(note
: i am on v9
)
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
handling errors server side
A
agi / ❓-help
3y ago
Handling errors on the front-end
O
Outis / ❓-help
3y ago