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

Function findErrorText

apps/vscode-e2e/src/suite/subtasks.test.ts:346–350  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

344 .find((text): text is string => !!text)
345
346 const findErrorText = (taskId: string) =>
347 messages[taskId]
348 ?.filter((message) => message.type === "say" && message.say === "error")
349 .map((message) => message.text?.trim())
350 .find((text): text is string => !!text)
351
352 api.on(RooCodeEventName.Message, messageHandler)
353

Callers 1

subtasks.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected