mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Doc: Prettier exception hierarchy. (GH-26533)
This commit is contained in:
parent
62f1d2b3d7
commit
c4955e2c4f
3 changed files with 66 additions and 65 deletions
|
@ -1,65 +1,65 @@
|
|||
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
|
||||
+-- EncodingWarning
|
||||
+-- ResourceWarning
|
||||
├── 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
|
||||
├── EncodingWarning
|
||||
└── ResourceWarning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue