After the last video, try-except looks less like an if-else statement and more like an if-elif-else statement. As we see in this video, this has profound effects on how errors interact with the call…
In 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.