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

Method error

lib/internal/vm/module.js:191–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 }
190
191 get error() {
192 validateThisInternalField(this, kWrap, 'Module');
193 if (this[kWrap].getStatus() !== kErrored) {
194 throw new ERR_VM_MODULE_STATUS('must be errored');
195 }
196 return this[kWrap].getError();
197 }
198
199 async link(linker) {
200 validateThisInternalField(this, kWrap, 'Module');

Callers 4

openFileFunction · 0.45
readNextFunction · 0.45
constructor.jsFile · 0.45
repl.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected