- 1. Exception handling in Python
- 2. Exception handling
- 2.1. Hierarchy of calls
- 2.2. Handling errors as return values
- 2.3. Handling errors as exceptions
- 2.4. A simple exception
- 2.5. Prevention
- 2.6. Working on a list
- 2.7. Catch ZeroDivisionError exception
- 2.8. Module to open files and calculate something
- 2.9. File for exception handling example
- 2.10. Open files - exception
- 2.11. Handle divide by zero exception
- 2.12. Handle files - exception
- 2.13. Catch all the exceptions and show their type
- 2.14. List exception types
- 2.15. Hierarchy of Exceptions
- 2.16. Order of exception handling - bad
- 2.17. Order of exception handling - good
- 2.18. How to raise an exception
- 2.19. Raise ValueError exception
- 2.20. Stack trace of exceptions
- 2.21. No need for exception to print Stack trace
- 2.22. Raise Exception from
- 2.23. Exercise: Exception int conversion
- 2.24. Exercise: Raise Exception
- 2.25. Solution: Exception int conversion (specific)
- 2.26. Solution: Exception int conversion (all other)
- 2.27. Solution: Raise Exception
- 3. Advanced Exception handling
- 3.1. Exceptions else
- 3.2. Exceptions finally
- 3.3. Exit and finally
- 3.4. Catching exceptions
- 3.5. Home made exception
- 3.6. Home made exception with attributes
- 3.7. Home made exception hierarcy
- 3.8. Home made exception hierarcy - 1
- 3.9. Home made exception hierarcy - 2
- 3.10. Home made exception hierarcy - 3
- 3.11. Exercise: spacefight with exceptions
- 3.12. Exercies: Raise My Exception
- 3.13. Solution: spacefight with exceptions
- 3.14. Solution: Raise My Exception
- 3.15. Exception finally return