MCPcopy Index your code
hub / github.com/microsoft/vscode-languageserver-node / sendErrors

Method sendErrors

server/src/main.ts:339–343  ·  view source on GitHub ↗

* Send all tracked messages to the conenction's window. * * @param connection The connection establised between client and server.

(connection: { window: RemoteWindow })

Source from the content-addressed store, hash-verified

337 * @param connection The connection establised between client and server.
338 */
339 public sendErrors(connection: { window: RemoteWindow }): void {
340 Object.keys(this._messages).forEach(message => {
341 connection.window.showErrorMessage(message);
342 });
343 }
344}
345
346/**

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.80
showErrorMessageMethod · 0.65
keysMethod · 0.45

Tested by

no test coverage detected