title: More detailed error messages from Node.js BigQuery client library
body: <p>I'm using the official <a href="https://github.com/googleapis/nodejs-bigquery" rel="nofollow noreferrer">Google Node connector to BigQuery</a>.</p>
  
  <p>I have the following snippet to stream records into the database:</p>
  
  <pre><code>module.exports.sendToBigQuery = (rows) =&gt; {
      bigquery
          .dataset(DATASET_NAME)
          .table(TABLE_NAME)
          .insert(rows)
          .catch(err =&gt; {
              if (err &amp;&amp; err.name === 'PartialFailureError') {
                  if (err.errors &amp;&amp; err.errors.length &gt; 0) {
                      console.log('Insert errors:');
                      err.errors.forEach(err =&gt; console.error(err));
                  }
              } else {
                  console.error('ERROR:', err);
              }
          });
  };
  </code></pre>
  
  <p>Unfortunately, whenever my data doesn't match the scema, all I'm getting is this cryptic error object:
  <code>{ errors: [ { message: 'no such field.', reason: 'invalid' } ],</code></p>
  
  <p>There is no <code>location</code> field that would tell me which field is missing which makes debugging this code a nightmare for more complex schemas.</p>
  
  <p>Is there any way to enable debug level of errors somehow? Or it's just a bug in client implementation? Any idea how I could access this information?</p>