title: Python "except Error as err:"
body: <p>i just started learning python yesterday and I'm trying to build a program that can navigate my Linux file system. I found this code online which works fine, but I don't understand the exception handling. The format of a try block is</p>
  
  <pre><code>errors = [] 
  
  try
      ...
  
  except OSError as why:
      errors.append((srcname, dstname, str(why)))
  except Error as err:
      errors.extend(err.args[0])
  </code></pre>
  
  <p>I can't find any description of an 'Error' type of exception. I can however find a description of 'OSError' in the python docs. Is 'Error' used to refer to any type of exception?</p>