Lesson 27 of 62 ยท about 17 minutes
Raising and Custom Exceptions ๐ก๏ธ
Raising and Custom Exceptions ๐ก๏ธ So far you have caught errors that Python raised. Good programs also raise their own . When a function is handed something it cannot sensibly deal with, such as a negative age or a withdrawal bigger than the balance, theโฆ
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.