joe_and_duke
joe_and_duke
TtRPC
Created by joe_and_duke on 5/15/2023 in #❓-help
tRPC onError
I am using tRPC with Fastify and would like to be able to report issues when we get an error. https://trpc.io/docs/server/error-handling#handling-errors It mentions we have a onError function, but I only see it inside: createNextApiHandler How can I get access to this not using Next? Am I just missing something?
4 replies