code: def report_exception(self, filename, exc):
          
          # Build fake event.
          event = AbinitError(src_file="Unknown", src_line=0, message=str(exc))
          return EventReport(filename, events=[event])
docs: This method is used when self.parser raises an Exception so that
          we can report a customized :class:`EventReport` object with info the exception.