Main Content

Exceptional Ruby

A talk by Avdi Grimm at MagicRuby 2011

About the Talk

February 4, 2011 9:00 AM

Orlando, FL

Orlando, FL

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!

Ratings and Recommendations

Avg. Rating

Average based
on 5 ratings

comments powered by Disqus