exception GeneratorExit Raised when a generator or coroutine
exception RuntimeError Raised when an error is detected that doesn’t fall in any of the other categories. The associated value
exception ZeroDivisionError Raised when the second argument of a division or modulo operation is zero. The associated value
exception UnicodeDecodeError Raised when a Unicode-related error occurs during decoding. It is a subclass of UnicodeError
exception KeyError Raised when a mapping (dictionary) key is not found in the set of existing keys.
exception TypeError Raised when an operation or function is applied to an object of inappropriate type. The associated value
exception PendingDeprecationWarning Base class for warnings about features which will be deprecated in the future.
exception SyntaxError Raised when the parser encounters a syntax error. This may occur in an import statement,
reason A string describing the specific codec error.
exception NotImplementedError This exception is derived from RuntimeError. In user defined base classes, abstract
Page 6 of 8