From: "Martin Boßlet" Date: 2012-05-01T04:06:50+09:00 Subject: Re: [C extension] Getting the associated exception instance after using rb_protect() 2012/4/30 Iñaki Baz Castillo : > Hi, by using rb_protect() I can get an integer "exception" which I can > use within rb_jump_tag(exception) and that causes the exception to be > executed. > > Ok, but what I need is the associated Ruby exception object that > "exception" integer points to. How to get it? > If I remember correctly, you can get an "active" exception for the current thread with rb_errinfo. -Martin