reason A string describing the specific codec error.
exception NotImplementedError This exception is derived from RuntimeError. In user defined base classes, abstract
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 ConnectionRefusedError A subclass of ConnectionError, raised when a connection attempt is refused by
exception RecursionError This exception is derived from RuntimeError. It is raised when the interpreter detects
exception FloatingPointError Raised when a floating point operation fails. This exception is always defined, but can only be
exception KeyboardInterrupt Raised when the user hits the interrupt key (normally Control-C or Delete)
exception SystemExit This exception is raised by the
exception BufferError Raised when a buffer related operation cannot be performed.
Page 8 of 8