microsoft/vscode · error · Error
${result.errorDetails.message}
Error message
${result.errorDetails.message} What it means
Error "${result.errorDetails.message}" thrown in microsoft/vscode.
Source
Thrown at extensions/copilot/src/extension/inlineChat/vscode-node/inlineChatCommands.ts:373
if (value instanceof vscode.ChatResponseTextEditPart && value.edits.length > 0) {
edits.push(...value.edits.map(e => ({
range: e.range,
newText: e.newText,
oldText: document.getText(e.range),
})).filter(e => e.newText !== e.oldText));
} else if (value instanceof vscode.ChatResponseMarkdownPart) {
markdown += value.value.value;
}
}, () => { }, undefined, undefined, undefined, () => Promise.resolve(undefined));
const requestHandler = instantiationService.createInstance(ChatParticipantRequestHandler, [], request, stream, CancellationToken.None, {
agentId: getChatParticipantIdFromName(editorAgentName),
agentName: editorAgentName,
intentId: request.command,
}, () => false, undefined);
const result = await requestHandler.getResult();
if (result.errorDetails) {
throw new Error(result.errorDetails.message);
}
const suggestion = { markdown, edits };
comment.suggestion = suggestion;
reviewService.updateReviewComment(comment);
thread.contextValue = edits.length
? updateContextValue(thread.contextValue, 'hasSuggestion', 'hasNoSuggestion')
: updateContextValue(thread.contextValue, 'hasNoSuggestion', 'hasSuggestion');
return suggestion;
})()
.catch(err => {
logService.error(err, 'Error fetching suggestion');
comment.suggestion = {
markdown: `Error fetching suggestion: ${err?.message}`,
edits: [],
};
reviewService.updateReviewComment(comment);
return comment.suggestion;
});View on GitHub (pinned to a94b963a32)
When it happens
Trigger: Thrown at extensions/copilot/src/extension/inlineChat/vscode-node/inlineChatCommands.ts:373 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microsoft/vscode@a94b963a32 (2026-08-12).
Data as JSON: /api/errors/f71831eeca08ef9e.
Report an issue: GitHub.