Working with Errors: How to Catch Exceptions and What to Do Next
summary
Covers error handling in Python: why programs should handle errors, the types of errors, and the language features Python provides for catching and managing exceptions.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:47What is an error
- 6:29Error handling misconceptions
- 13:09Memory exhaustion
- 18:11Program requirements and errors
- 22:10Pre-exception handling
- 30:10Exceptions as syntactic sugar
- 32:59Expected vs unexpected errors
- 37:40Best practices for exceptions
- 41:18Pitfalls in catching all exceptions
- 44:04Real-world error handling limits
- 45:51Exceptions vs return codes
- 49:00Unit testing regressions
- 54:46Summary and Q&A
