Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
Callers
4
video-generation-client.test.ts
File · 0.45
chat-client-abort.test.ts
File · 0.45
chat-client.test.ts
File · 0.45
generation-client.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected