MCPcopy Index your code
hub / github.com/nodejs/node / error

Function error

lib/internal/console/constructor.js:440–445  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

438 },
439
440 error(...args) {
441 if (onError.hasSubscribers) {
442 onError.publish(args);
443 }
444 this[kWriteToConsole](kUseStderr, this[kFormatForStderr](args));
445 },
446
447 dir(object, options) {
448 this[kWriteToConsole](kUseStdout, inspect(object, {

Callers 1

writeOutFunction · 0.50

Calls 1

publishMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…