title: What exception class to use for file parsing error?
body: <p>I'm writing a parser for a certain file format. If a file is not correctly formatted (and can not be parsed) then the parser throws an exception.</p>
  
  <p>What exception class, in the Python 2 exception hierarchy, should I use?</p>