MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / error

Method error

src/debug/logging.ts:21–23  ·  view source on GitHub ↗
(errorOrMessage: any, category?: LogCategory)

Source from the content-addressed store, hash-verified

19 this.log(errorString(errorOrMessage), LogSeverity.Warn, category);
20 }
21 public error(errorOrMessage: any, category?: LogCategory): void {
22 this.log(errorString(errorOrMessage), LogSeverity.Error, category);
23 }
24}

Callers

nothing calls this directly

Calls 2

logMethod · 0.95
errorStringFunction · 0.90

Tested by

no test coverage detected