Lesson 25.4 The raise Statement
From Hannah Lee
Up until now, the only way that we knew how to create an error is with an assert statement. But these always create errors with the type AssertionError. In this video we show how to create errors with different types.