create-error.js
function attachProps(context, target) {
  if (isObject(target)) {
    var keys = inheritedKeys(target);
    for (var i = 0, l = keys.length; i < l; ++i) {
      context[keys[i]] = clone(target[keys[i]]);
    }
  }
}
function attachProps(context, target) {
  if (isObject(target)) {
    var keys = inheritedKeys(target);
    for (var i = 0, l = keys.length; i < l; ++i) {
      context[keys[i]] = clone(target[keys[i]]);
    }
  }
}
function attachProps ( context , target ) { if ( isObject ( target ) ) { var keys = inheritedKeys ( target ) ; for ( var i = 0 , l = keys . length ; i < l ; ++ i ) { context [ keys [ i ] ] = clone ( target [ keys [ i ] ] ) ; } } }
Used to attach attributes to the error object in the constructor.
Used to attach attributes to the error object in the constructor .