I come from a C# background where I usually re-raise exceptions with the original exception contained inside the parent exception. Is a similar concept available in Ruby? How do I detect and raise an exception while maintaining the context of the lower level exception?
I come from a C# background where I usually re-raise exceptions with the original
Share
Take a look at the tricks from the talk Exceptional Ruby by Avdi Grimm: