MCPcopy Index your code
hub / github.com/TanStack/ai / getError

Method getError

packages/ai-client/src/chat-client.ts:1420–1422  ·  view source on GitHub ↗

* Get current error

()

Source from the content-addressed store, hash-verified

1418 * Get current error
1419 */
1420 getError(): Error | undefined {
1421 return this.error
1422 }
1423
1424 /**
1425 * Manually set messages

Calls

no outgoing calls

Tested by

no test coverage detected