Bridge Academy.
← BACK TO MATERIALS
WEEK 62 · NOVEMBER 19, 2026

Error Handling · Part 2

Custom exceptions; `raise from`; full handling flow; logging and re-raising patterns.

Lesson 26 · Error Handling · Part 2 — Level II · Guide

November 19, 2026 · Bridge Academy Python Program

Learning goals

  • Use full try/except/else/finally flows.
  • Create simple custom exceptions.
  • Chain exceptions with raise from.
  • Log and re-raise when needed.

Level II extends the PCEP exception work toward PCAP-style patterns. Students see that errors can carry context and can belong to small domain-specific hierarchies.

Preview truncated — download the notebook to see the full lesson.