From: Charles Oliver Nutter Date: 2013-04-29T04:11:38+09:00 Subject: [ruby-core:54675] Re: [CommonRuby - Feature #8257][Open] Exception#cause to carry originating exception along with new one On Sat, Apr 27, 2013 at 6:09 PM, SASADA Koichi wrote: > Summary: > (1) raise method captures $! as @cause. > (2) Adding new method Exception#cause returns @cause. > > * I'm not sure #cause is good name. > Too short? It seems ok to me, since Java's Throwable uses the same name (but I am perhaps a bit biased. .NET's Exception calls it the BaseException, via GetBaseException. I think "base" or "base_exception" not as good as "cause". I guess the next step is a patch. - Charlie