Python error handling

Beginner
Developer
Student
Azure

Handle exceptions and create useful error messages. Improve your skills by using exceptions for code flow control.

Learning objectives

By the end of this module, you'll be able to:

  • Read and use error output from exceptions.
  • Properly handle exceptions.
  • Raise exceptions with useful error messages.
  • Use exceptions to control a program's flow.

Prerequisites

  • Basic programming knowledge, like using and assigning variables.
  • Some experience with using Jupyter notebooks, including adding and modifying code.
  • (Optional) Visual Studio Code
  • Git