Sign inSign in
ConceptSystems & CS

Raising exceptions

The programmer can use the raise keyword to explicitly trigger an exception when an error condition occurs.
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Lecturers

2

Each in their own terms, from the easiest level.

  • Ana Bell

    MIT · Introductory

    Raising an exception is a way to stop code execution and signal an error condition with a custom message and error type.
    • 20:00Exceptions and Assertions in Python

Connections

4

The lectures that define it or assume it, and the concepts next to it.

Concepts2

Lectures2

2 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.