Created
March 14, 2019 14:38
-
-
Save evu/a31fc91cdf2604f2cbee19962b650b30 to your computer and use it in GitHub Desktop.
Python Exception Hierarchy (3.7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment