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

Method fromEvalResult

lib/internal/debugger/inspect_repl.js:321–324  ·  view source on GitHub ↗
({ result, wasThrown })

Source from the content-addressed store, hash-verified

319 }
320
321 static fromEvalResult({ result, wasThrown }) {
322 if (wasThrown) return convertResultToError(result);
323 return new RemoteObject(result);
324 }
325}
326
327class ScopeSnapshot {

Callers

nothing calls this directly

Calls 1

convertResultToErrorFunction · 0.85

Tested by

no test coverage detected