-
Avdi Grimm
4.48
Description:
You know how to raise and rescue exceptions. But do you know how they work, and how to structure a robust error handling strategy for your app or library? Starting with an in-depth look at Ruby's failure handling mechanisms, we'll move on to talk about proven strategies for raising, handling, recording, and mitigating failures in Ruby.
Topics covered will include:
- Different methods of indicating failure
- Overriding Kernel#raise for fun and profit
- The exception lifecycle in detail
- Crash logging
- The three exception safety guarantees
- Exception safety testing
- Avoiding error cascades
- Structuring your exception classes
- ...and much more!
Comments on this Talk
Chris Powers,
24 Mar 09:14 PM
Great talk, very informative! Looking forward to checking out the ebook.
KyleKlinger,
24 Mar 09:19 PM
Great talk, a ton of good info checking out your site now.

Fantastic talk, I learned a lot. I was planning on just watching but there was so much I had to take notes. Ended up with about a page of notes which I'm going to propagate to my workplace.
I'd love to see the design comments from the earlier talk about design implemented. There were a few slides that were really long. This meant that I sometimes couldn't even read the slide by the time you had moved along. Still outstanding talk though. Thank you.