Exception Hierarchy

Exceptions are really organized into a hierarchy

                        Exception
                            |
                      StandardError
                            |
                           ...
 ArithmeticError                      LookupError
      FloatingPointError                   IndexError                    
      OverflowError                        KeyError         
      ZeroDivisionError               MemoryError      
 AssertionError                       NameError        
 AttributeError                       RuntimeError     
 EnvironmentError                     SyntaxError
      IOError                         SystemError
      OSError                         SystemExit
 EOFError                             TypeError
 ImportError                          ValueError
 KeyboardInterrupt              
 
<<< O'Reilly OSCON 2000, Introduction to Python, Slide 73
July 17, 2000, beazley@cs.uchicago.edu
>>>