Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Learn Backend Development Part-Time, Online
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how to raise, capture, translate, and design exceptions in Python, with examples of their behavior and common pitfalls. It focuses on library error handling and making exceptions easier to understand and troubleshoot.
Syllabus
Introduction
Translating Exceptions
Capturing Exceptions
Saving Exceptions
Finally
Else
Order of Exceptions
Login Exceptions
Logging Exceptions
Dont Do It
What Do I Do
String Representation
Exceptions
Raising Exceptions
Rewriting the Abstraction
Raising the Exception
Not implemented
Propagation
Base Exception
What does an exception have
Always inherit from exception
Save arts
Examples
Exceptions vs Error Codes
Quick Catch
Un unreachable hook
Positional only arguments
Cycle
Stop
Questions
Taught by
EuroPython Conference