exception RuntimeError Raised when an error is detected that doesn’t fall in any of the other categories. The associated value
exception SyntaxError Raised when the parser encounters a syntax error. This may occur in an import statement,
exception ConnectionRefusedError A subclass of ConnectionError, raised when a connection attempt is refused by
exception FloatingPointError Raised when a floating point operation fails. This exception is always defined, but can only be
exception RecursionError This exception is derived from RuntimeError. It is raised when the interpreter detects
exception KeyboardInterrupt Raised when the user hits the interrupt key (normally Control-C or Delete)
exception IndentationError Base class for syntax errors related to incorrect indentation. This is a subclass of SyntaxError
exception AttributeError Raised when an attribute reference (see Attribute references) or assignment fails. (When
exception SystemExit This exception is raised by the
exception BufferError Raised when a buffer related operation cannot be performed.
Page 8 of 8