โ† All lessons

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.

See the free lessons