Exception Handling
Part 1 — what goes wrong in programs: syntax errors, exceptions, the built-in exceptions, and how to signal problems with raise and assert.
In this lesson you will
- Distinguish syntax errors, exceptions and logical errors
- Identify the common built-in exceptions from code and from an error line
- Raise exceptions deliberately with raise and check conditions with assert