MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isDefaultAbortReason

Function isDefaultAbortReason

packages/agent-core/src/utils/abort.ts:69–71  ·  view source on GitHub ↗
(reason: Error)

Source from the content-addressed store, hash-verified

67}
68
69function isDefaultAbortReason(reason: Error): boolean {
70 return reason.name === 'AbortError' && reason.message === 'This operation was aborted';
71}
72
73export interface DeadlineAbortSignal {
74 readonly signal: AbortSignal;

Callers 1

abortReasonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected