docs: function errorReturn(err, errArgs) {
  
    // this allows entering any number of fields to be formatted, as you can pass in one arg or an array of args
    if (errArgs) {
      var args = [err];
      if (_.isArray(errArgs)) {
        args = args.concat(errArgs);
      }
      else {
        args.push(errArgs);
      }
      err = util.format.apply(util, args);
    }
  
    var ret = {error: new Error(err)};
    return [ret];
  }