PyCon 2019 | Exceptional Exceptions – How To Properly Raise, Handle And Create Them

Speaker: Mario Corchero

 

Did you know there are multiple ways to raise and capture exceptions? Have you ever wondered if you should raise a built-in exception or create your own hierarchy? Did you ever find it hard to understand what an exception meant?

This talk will go through the decisions needed to raise and capture exceptions when creating a library. We will look at how to translate and handle errors, create your own exceptions, and make exceptions clear and easy to troubleshoot, while also understanding how they actually work, common pitfalls.

 

Slides can be found at: https://speakerdeck.com/pycon2019 and https://github.com/PyCon/2019-slides

Previous Google I/O 2019 | Large Scale Multiplayer Gaming with Open Source
Next How To Install And Configure Elasticsearch In Ubuntu