pupeno.com
Wrapped exceptions in Ruby
Sometimes you want to raise an exception when a method fails but without losing information about an inner exception. Let me explain it with an example. At Watu we have a method that causes a user …