MCPcopy Create free account
hub / github.com/fastify/fastify / appendStackTrace

Function appendStackTrace

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

Source from the content-addressed store, hash-verified

521}
522
523function appendStackTrace (oldErr, newErr) {
524 newErr.cause = oldErr
525
526 return newErr
527}
528
529module.exports = codes
530module.exports.appendStackTrace = appendStackTrace

Callers 2

manageErrFunction · 0.85
exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected