MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / isNoActiveTaskLikeError

Function isNoActiveTaskLikeError

apps/cli/src/commands/cli/cancellation.ts:88–91  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

86}
87
88export function isNoActiveTaskLikeError(error: unknown): boolean {
89 const details = getErrorMetadata(error)
90 return NO_ACTIVE_TASK_PATTERNS.some((pattern) => details.normalizedMessage.includes(pattern))
91}
92
93export function isStreamTeardownLikeError(error: unknown): boolean {
94 const details = getErrorMetadata(error)

Callers 3

runStdinStreamModeFunction · 0.85

Calls 1

getErrorMetadataFunction · 0.85

Tested by

no test coverage detected