MCPcopy
hub / github.com/fastify/fastify / appendStackTrace

Function appendStackTrace

lib/errors.js:516–520  ·  view source on GitHub ↗
(oldErr, newErr)

Source from the content-addressed store, hash-verified

514}
515
516function appendStackTrace (oldErr, newErr) {
517 newErr.cause = oldErr
518
519 return newErr
520}
521
522module.exports = codes
523module.exports.appendStackTrace = appendStackTrace

Callers 2

manageErrFunction · 0.85
exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected