MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / failed

Function failed

Extension/src/SSH/sshCommandRunner.ts:310–316  ·  view source on GitHub ↗
(error?: any)

Source from the content-addressed store, hash-verified

308 };
309
310 const failed = (error?: any) => {
311 clean();
312 const errorMessage: string = localize('ssh.process.failed', '"{0}" process failed: {1}', nickname, error);
313 getSshChannel().appendLine(errorMessage);
314 void vscode.window.showErrorMessage(errorMessage);
315 result.reject(error);
316 };
317
318 const handleOutputLogging = (data: string): void => {
319 let nextPauseState: boolean | undefined;

Callers 2

handleTerminalOutputFunction · 0.85

Calls 5

getSshChannelFunction · 0.90
appendLineMethod · 0.80
showErrorMessageMethod · 0.80
cleanFunction · 0.70
rejectMethod · 0.65

Tested by

no test coverage detected