errors

When an error happens in Python, an Exception is raised to stop the program, this means nothing past the line that caused the error will run.

It is useful because there is a problem that must be solved for the program to continue, and it is a problem when it causes the program to stop early.

what is covered?

The tests in this chapter cover the following Exceptions

questions about Exceptions

Here are some questions you can answer after going through these chapters

what is next?

Would you like to know how to test that an Exception is raised?