r.prototype.setNestingLevel = function(nestingLevel) {
  if (typeof nestingLevel !== 'number') throw new errors.ReqlDriverError('The first argument of `setNestingLevel` must be a number.');
  this.nestingLevel = nestingLevel;
};