MCPcopy Create free account
hub / github.com/RisingStack/trace-nodejs / transformError

Function transformError

lib/agent/tracer/tracer.js:315–324  ·  view source on GitHub ↗
(error, noStack)

Source from the content-addressed store, hash-verified

313}
314
315function transformError (error, noStack) {
316 return assign({
317 name: error.name,
318 message: error.message,
319 stack: noStack ? undefined : error.stack,
320 lineNumber: error.lineNumber,
321 fileName: error.fileName,
322 columnNumber: error.columnNumber
323 }, error)
324}
325
326function rewind (history, p) {
327 if (!p) {

Callers 1

tracer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected