Python 异常处理 - 释放错误的力量
Python Exception Handling - Unlocking the Power of Errors
- 1. Introduction to Exceptions
- 2. Practical Example Of an Exception
- 3. try & except block
- 4. Multiple except blocks
- 5. General exception vs Concrete exception
- 6. raise Instruction
- 7. Empty raise command
- 8. assert Expression
- 9. else
- 10. finally
- 11. Exceptions are Classes
- 12. args Property
- 13. How To Create An Exception
- 14. name & path
- 15. encoding, reason, object, start, end
- 16. Chained Exceptions __context__, __cause__
- 17. __traceback__ Attribute. & traceback Module