error.ReqlQueryLogicError = function(message, query, frames) {
  error.ReqlRuntimeError.call(this, message, query, frames);
  this.name = 'ReqlQueryLogicError';
};