MCPcopy Create free account
hub / github.com/cmoog/vscode-sql-notebook / writeErr

Function writeErr

src/controller.ts:106–111  ·  view source on GitHub ↗
(execution: vscode.NotebookCellExecution, err: string)

Source from the content-addressed store, hash-verified

104}
105
106function writeErr(execution: vscode.NotebookCellExecution, err: string) {
107 execution.replaceOutput([
108 new vscode.NotebookCellOutput([vscode.NotebookCellOutputItem.text(err)]),
109 ]);
110 execution.end(false, Date.now());
111}
112
113const { text, json } = vscode.NotebookCellOutputItem;
114

Callers 1

doExecutionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected