t
tRPC
B
tRPC
•
3y ago
•
2 replies
Barakonda
Is there a similar handler to createNextApiHandler for fastify?
I
'm trying to create a global error handler in fatsify but I can
't find anything
.
Is this even a thing or do I need to use a middleware
?
Solution
Never mind
' i found it
, it
's in trpcOptions
-
> onError of the fastifyTRPCPlugin
Jump to solution
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Equivalent to middleware on createNextApiHandler
N
NotLuksus / ❓-help
2y ago
Is It Possible to use methodOverride with createNextApiHandler?
S
Sami Mis'hal / ❓-help
2y ago
RateLimiter for fastify tRPC routes
K
Kimblis / ❓-help
3y ago