tRPCttRPC
Powered by
Cybermuse.ioC
tRPC•16mo ago•
11 replies
Cybermuse.io

Error handling abort on unstable_httpBatchStreamLink

When using a streaming response with unstable_httpBatchStreamLink and cancelling a request with an AbortController, the client will throw an error. The error is an instance of a generic error rather than a TRPCClientError. I'm trying to think of a solid way to swallow the abort error.
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

unstable_httpBatchStreamLink and formData -> not compatible
CattpotCCattpot / ❓-help
13mo ago
Why use unstable_httpBatchStreamLink in React server components?
BeBoREBBeBoRE / ❓-help
3y ago
trpc 11 superjson transformer not working with unstable_httpBatchStreamLink
NeatZNNeatZ / ❓-help
13mo ago
error handling on server side
Adam BorygoAAdam Borygo / ❓-help
7mo ago