RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Nested errors in Ruby with Exception#cause

It’s a common pattern in Ruby to rescue and exception and re-raise another kind of exception. But the original exception isn’t lost! You can use Exception#cause to grab it. In this post we show you how. - http://blog.honeybadger.io/nested-errors-in-ruby-with-exception-cause/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in