MCPcopy Index your code
hub / github.com/simstudioai/sim / isAbortError

Function isAbortError

apps/sim/app/api/mothership/execute/route.ts:37–39  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

35const ndjsonEncoder = new TextEncoder()
36
37function isAbortError(error: unknown): boolean {
38 return error instanceof Error && error.name === 'AbortError'
39}
40
41function wantsStreamedExecuteResponse(req: NextRequest): boolean {
42 return (

Callers 2

startFunction · 0.70
route.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected