Exceptional Ruby 4.3 http://spkr8.com/t/6913


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

Open-uri20120605-1-1as4ro5 Chuck Lauer Vose, 24 Mar 09:13 PM

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.

Profile_cu Chris Powers, 24 Mar 09:14 PM

Great talk, very informative! Looking forward to checking out the ebook.

Avatar-missing-icon-03 KyleKlinger, 24 Mar 09:19 PM

Great talk, a ton of good info checking out your site now.

Have an account? Sign in or register.

Leave a Comment

3 Ratings: 4.30

Delivery: 4.17

Content: 4.43

Time & Location

March 24, 2011 — 01:30 PM
Bend, OR (Map It)