MCPcopy Create free account
hub / github.com/TanStack/ai / recordErrorChange

Method recordErrorChange

packages/ai-client/src/devtools.ts:1418–1423  ·  view source on GitHub ↗
(error: Error | undefined)

Source from the content-addressed store, hash-verified

1416 }
1417
1418 recordErrorChange(error: Error | undefined): void {
1419 this.updateActiveRun(
1420 error ? { error: error.message } : { clearError: true },
1421 )
1422 this.emitState()
1423 }
1424
1425 recordStatusChange(status: AIDevtoolsGenerationRunStatus): void {
1426 this.updateActiveRun({ status })

Callers 2

setErrorMethod · 0.45
setErrorMethod · 0.45

Calls 2

updateActiveRunMethod · 0.95
emitStateMethod · 0.95

Tested by

no test coverage detected