exception GeneratorExit Raised when a generator or coroutine
exception FileExistsError Raised when trying to create a file or directory which already exists. Corresponds to errno
exception ImportError Raised when an import statement fails to find the module definition or when a from
exception RuntimeError Raised when an error is detected that doesn’t fall in any of the other categories. The associated value
exception KeyError Raised when a mapping (dictionary) key is not found in the set of existing keys.
exception UnicodeWarning Base class for warnings related to Unicode.
reason A string describing the specific codec error.
exception SyntaxError Raised when the parser encounters a syntax error. This may occur in an import statement,
exception ChildProcessError Raised when an operation on a child process failed. Corresponds to errno ECHILD
exception UserWarning Base class for warnings generated by user code.
Page 6 of 8