MCPcopy Create free account
hub / github.com/angular/angular / error

Method error

vscode-ng-language-service/server/src/session.ts:718–723  ·  view source on GitHub ↗

* Show an error message in the remote console and log to file. * * @param message The message to show.

(message: string)

Source from the content-addressed store, hash-verified

716 * @param message The message to show.
717 */
718 error(message: string): void {
719 if (this.logToConsole) {
720 this.connection.console.error(message);
721 }
722 this.logger.msg(message, ts.server.Msg.Err);
723 }
724
725 /**
726 * Show a warning message in the remote console and log to file.

Callers 4

onDidOpenTextDocumentMethod · 0.95
getLSAndScriptInfoMethod · 0.95

Calls 2

msgMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected