python 内置错误和异常(笔记)
来源:互联网 发布:js 文本框 数值合计 编辑:程序博客网 时间:2024/06/14 16:54
异常层级显示
内置异常层级为:BaseException +-- SystemExit +-- KeyboardInterrupt +-- GeneratorExit +-- Exception +-- StopIteration +-- StopAsyncIteration +-- ArithmeticError | +-- FloatingPointError | +-- OverflowError | +-- ZeroDivisionError +-- AssertionError +-- AttributeError +-- BufferError +-- EOFError +-- ImportError +-- 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异常具体说明:https://docs.python.org/3/library/exceptions.html#bltin-exceptions
0 0
- python 内置错误和异常(笔记)
- python错误和异常--总结笔记
- python学习笔记16(错误、异常)
- Python学习笔记10:Python错误和异常
- Python错误和异常
- python错误和异常
- python错误和异常
- Python错误和异常
- python异常和错误
- Python 错误和异常
- python错误和异常
- Python 错误和异常
- python错误和异常(1)
- Python常见错误和异常(4)
- <PY><core python programming笔记>C10 错误和异常
- python学习笔记(六)——错误和异常处理
- Python 错误和异常小结
- Python 错误和异常小结
- 使用消息队列的 10 个理由
- 数据库安装
- 全选 反选
- Bootstrap中文网开源项目免费 CDN 服务、cdn.bootcss.com
- shiro认证过程
- python 内置错误和异常(笔记)
- 在安卓代码中dp 和 sp 换算px
- static关键字
- Junit与spring的整合
- Linux 磁盘管理:df,du,fdisk,mkfs,fsck
- 将C++数字类型转换成字符串
- Redis启动多端口、运行多实例
- 牛顿法与拟牛顿法学习笔记(二)拟牛顿条件
- android EventBus 3.0 简单使用