Hacked By AnonymousFox

Current Path : /proc/thread-self/root/lib/node_modules/npm/lib/utils/
Upload File :
Current File : //proc/thread-self/root/lib/node_modules/npm/lib/utils/save-stack.js

'use strict'
var inherits = require('inherits')

module.exports = SaveStack

function SaveStack (fn) {
  Error.call(this)
  Error.captureStackTrace(this, fn || SaveStack)
}
inherits(SaveStack, Error)

SaveStack.prototype.completeWith = function (er) {
  this['__' + 'proto' + '__'] = er
  this.stack = this.stack + '\n\n' + er.stack
  return this
}

Hacked By AnonymousFox1.0, Coded By AnonymousFox