MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / setError

Function setError

cli/src/utils/message-updater.ts:93–99  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

91 }
92
93 const setError = (message: string) => {
94 updateAiMessage((msg) => ({
95 ...msg,
96 userError: message,
97 isComplete: true,
98 }))
99 }
100
101 /**
102 * Clears the userError field from the message.

Callers 15

LoginModalFunction · 0.85
ChatGptConnectBannerFunction · 0.85
handleConnectFunction · 0.85
useFreebuffSessionFunction · 0.85
applyFunction · 0.85
tickFunction · 0.85
useFetchLoginUrlFunction · 0.85
renderDiagramFunction · 0.85
loadFileContentFunction · 0.85
fetchTreeFunction · 0.85
fetchInvitationFunction · 0.85
acceptInvitationFunction · 0.85

Calls 3

updateAiMessageFunction · 0.85
disposeFunction · 0.85
flushFunction · 0.70

Tested by

no test coverage detected