Перейти к содержимому

Mario Corchero - Exceptional Exceptions - How to properly raise, handle and create them.

PyCon 2019

0:00 / 0:00

Mario Corchero - Exceptional Exceptions - How to properly raise, handle and create them.

12 887 просмотров · 7 л. назад
PyCon 2019
13,6 тыс. подписчиков
12 887 просмотров · 7 л. назад
"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"