MCPcopy
hub / github.com/vercel/next.js / isAbortError

Function isAbortError

packages/next/src/server/pipe-readable.ts:12–14  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

10import { getClientComponentLoaderMetrics } from './client-component-renderer-logger'
11
12export function isAbortError(e: any): e is Error & { name: 'AbortError' } {
13 return e?.name === 'AbortError' || e?.name === ResponseAbortedName
14}
15
16function createWriterFromResponse(
17 res: ServerResponse,

Callers 7

pipeToMethod · 0.90
invokeRenderFunction · 0.90
handleRouteFunction · 0.90
createHTMLErrorHandlerFunction · 0.90
isUserLandErrorFunction · 0.90
pipeToNodeResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…