Mario Corchero - 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: speakerdeck.com/pycon2019 and github.com/PyCon/2019-slides"

Пікірлер: 13

  • @stalinthomas9850
    @stalinthomas98503 жыл бұрын

    02:28 How to raise and capture an exception 04:00 finally else 04:50 order of execution of tray except else finally 06:03 Logging exceptions 10:25 Scoping of the except 12:22 Raise Exceptions 14:08 Chaining Exceptions 19:01 Exception Attributes 20:52 Custom Exception class 23:28 Error Codes

  • @itachi2011100
    @itachi20111004 жыл бұрын

    loved the tourism message! Conferences need to be at least this much fun.

  • @lincolnamari3486

    @lincolnamari3486

    3 жыл бұрын

    i guess I'm quite off topic but does anyone know a good site to stream new series online ?

  • @dariustristen6263

    @dariustristen6263

    3 жыл бұрын

    @Lincoln Amari i use flixzone. Just google for it =)

  • @FinallyAFreeUsername
    @FinallyAFreeUsername5 жыл бұрын

    Talk starts at 1:44

  • @yoyonel1808
    @yoyonel18084 жыл бұрын

    And the Question ??? Nice talk, very fun :D

  • @satyajeetkumarjha1482
    @satyajeetkumarjha148211 ай бұрын

    Perfect.

  • @deepakranganathan9644
    @deepakranganathan96444 жыл бұрын

    Brilliant presentation :)

  • @Sousleek
    @Sousleek4 жыл бұрын

    Very useful talk

  • @nikitasid4947
    @nikitasid49475 жыл бұрын

    Good one.

  • @wlgrd7052
    @wlgrd70523 жыл бұрын

    Would love for these talks not to use laser pointers, other than that great talk!

  • @JasonBrackman
    @JasonBrackman5 жыл бұрын

    at 5:45 -- is the dis.dis showing that the 'finally' is put on to the heap first - then the try/except block? So the first return is the finally and the others are ignored?

  • @tib7209
    @tib72092 жыл бұрын

    noice

Келесі