lib/errors/CustomError.js
function createStackTrace () {
  var stack = new Error().stack
  var splited = stack.split('\n')
  var modifiedStack = splited[0].concat('\n', splited.splice(3).join('\n'))
  this.stack = modifiedStack
}
function createStackTrace () {
  var stack = new Error().stack
  var splited = stack.split('\n')
  var modifiedStack = splited[0].concat('\n', splited.splice(3).join('\n'))
  this.stack = modifiedStack
}
function createStackTrace ( ) { var stack = new Error ( ) . stack var splited = stack . split ( '\n' ) var modifiedStack = splited [ 0 ] . concat ( '\n' , splited . splice ( 3 ) . join ( '\n' ) ) this . stack = modifiedStack }
Set the the correct stack trace for this error
@method
@returns {undefined}
@throws {PrivateMethodError}
Set the the correct stack trace for this error