B4Coder
0%
LessonAbout 8 min

Chapter 13 · Lesson 5 of 5

05. Raise your own errors

Your functions can refuse bad values with raise, and the code that calls them can catch the error and show its message.

Opening the lesson…