code: function throwInvalidColumnName (columnName, select) {
      // create error message
      var msg = 'invalid column name for select `'+columnName
          +'` at select.'+select.history.join('.')+' in context '+select.context
      // create error
      var err = new Error(msg)
      // add select data to error
      err.data = _.pick(select, ['context', 'contextData', 'expectColumn', 'history', 'query'])
      // throw error
      throw new Error(err)
  }
docs: @function throwInvalidColumnName
  
  throw invalid option error
  
  @param {string} columnName
  @param {object} select
  
  @throws {Error}