zoukankan      html  css  js  c++  java
  • 常见的错误类型和继承关系

     1 BaseException
     2  +-- SystemExit
     3  +-- KeyboardInterrupt
     4  +-- GeneratorExit
     5  +-- Exception
     6       +-- StopIteration
     7       +-- StopAsyncIteration
     8       +-- ArithmeticError
     9       |    +-- FloatingPointError
    10       |    +-- OverflowError
    11       |    +-- ZeroDivisionError
    12       +-- AssertionError
    13       +-- AttributeError
    14       +-- BufferError
    15       +-- EOFError
    16       +-- ImportError
    17            +-- ModuleNotFoundError
    18       +-- LookupError
    19       |    +-- IndexError
    20       |    +-- KeyError
    21       +-- MemoryError
    22       +-- NameError
    23       |    +-- UnboundLocalError
    24       +-- OSError
    25       |    +-- BlockingIOError
    26       |    +-- ChildProcessError
    27       |    +-- ConnectionError
    28       |    |    +-- BrokenPipeError
    29       |    |    +-- ConnectionAbortedError
    30       |    |    +-- ConnectionRefusedError
    31       |    |    +-- ConnectionResetError
    32       |    +-- FileExistsError
    33       |    +-- FileNotFoundError
    34       |    +-- InterruptedError
    35       |    +-- IsADirectoryError
    36       |    +-- NotADirectoryError
    37       |    +-- PermissionError
    38       |    +-- ProcessLookupError
    39       |    +-- TimeoutError
    40       +-- ReferenceError
    41       +-- RuntimeError
    42       |    +-- NotImplementedError
    43       |    +-- RecursionError
    44       +-- SyntaxError
    45       |    +-- IndentationError
    46       |         +-- TabError
    47       +-- SystemError
    48       +-- TypeError
    49       +-- ValueError
    50       |    +-- UnicodeError
    51       |         +-- UnicodeDecodeError
    52       |         +-- UnicodeEncodeError
    53       |         +-- UnicodeTranslateError
    54       +-- Warning
    55            +-- DeprecationWarning
    56            +-- PendingDeprecationWarning
    57            +-- RuntimeWarning
    58            +-- SyntaxWarning
    59            +-- UserWarning
    60            +-- FutureWarning
    61            +-- ImportWarning
    62            +-- UnicodeWarning
    63            +-- BytesWarning
    64            +-- ResourceWarning
  • 相关阅读:
    利用密钥通过ssh互访
    rsync参数及通信
    cacti 安装
    地区排名脚本 一千三百多行代码
    调用分隔符的数组。
    select case when
    jquery 设置select 默认值
    常见的分析函数
    oracle分析函数 之分组累加求和
    ORACLE的表被 另一个用户锁定,如何解除..
  • 原文地址:https://www.cnblogs.com/themost/p/6821416.html
Copyright © 2011-2022 走看看