baseexception +-- systemexit +-- keyboardinterrupt +-- generatorexit +-- exception +-- stopiteration + -- stopasynciteration +-- arithmeticerror | +-- FloatingPointError | +-- OverflowError | +-- zerodivisionerror +-- assertionerror +-- AttributeError +-- BufferError +-- EOFError +-- ImportError +-- modulenotfounderror +-- LookupError | +-- IndexError | +-- keyerror +-- memoryerror +-- nameerror | +-- UnboundLocalError +-- OSError | +-- BlockingIOError | +-- ChildProcessError | +-- connectionerror | | +-- brokenpipeerror | | +-- connectionabortederror | | +- - connectionrefusederror | | +-- Connectionreseterror | +-- fileexistserror | +-- FileNotFoundError | +-- interruptederror | +-- IsADirectoryError | +-- NotADirectoryError | +-- permissionerror | +-- processlookuperror | +-- TimeoutError +-- ReferenceError +-- RuntimeError | +-- notimplementederror | +-- recursionerror +-- syntaxerror | +-- IndentationError | +-- TabError +-- SystemError +-- TypeError +-- ValueError | +-- UnicodeError | +-- UnicodeDecodeError | +-- UnicodeEncodeError | +-- UnicodeTranslateError +-- warning +-- DeprecationWarning +-- PendingDeprecationWarning +-- RuntimeWarning +-- SyntaxWarning +-- UserWarning +-- futurewarning +-- importwarning +-- UnicodeWarning +-- BytesWarning +-- resourcewarning
Python3 type of exception