MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / report

Function report

src/run_tests.mjs:209–213  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

207}
208
209function report(err) {
210 let msg = err.toString()
211 if (/^\[object/.test(msg) && err.message) msg = err.message
212 console.log("error raised (" + _console.pos + "): " + msg, err.stack)
213}
214
215// Gruesome kludgery to make the node chapter tests run
216

Callers 1

nextSandboxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected