Search for tag: "exception"
Zoom Nov. 12. Dynamic TypingOur last presentation on classes reviews the issue of typing, and why this has become much trickier with the introduction of subclasses. This is the last material covered in the second exam.The…
From Hannah Lee
39 plays
|
|
Lesson 25.5 Custom Error TypesNow that we can raise an error of any type, it is time to make our own error types. In this video we show that this is incredibly simple, and needs almost no code.
From Hannah Lee
66 plays
|
|
Lesson 25.2 Error-Specific RecoveryIn this video we show how to use the error type to give you more control over a try-except statement. You can chose to recover from some errors, while completely ignoring other errors.
From Hannah Lee
75 plays
|
|
Lesson 25.1 Error TypesIn this video we revisit error messages in Python and show how to read the error type. This type is a class, which means that you can construct your own error objects.
From Hannah Lee
77 plays
|
|