title: Handle a specific error in golang
body: <p>I am trying to simply ignore the <code>csv.ErrFieldCount</code> error in our code but cannot seem to only look at that one error. What am I doing wrong here?</p>
  
  <pre><code>record, err := reader.Read()
  if err != nil {
      if err == csv.ErrFieldCount {
          return nil
      }
      return err
  }
  </code></pre>
  
  <p>But when I run the code the last line of the csv file gives me this error paniced <code>line 11535, column 0: wrong number of fields in line</code></p>