From: Joe Van Dyk Date: 2006-01-14T08:14:41+09:00 Subject: Re: catching exceptions from embedded ruby On 1/13/06, Joe Van Dyk wrote: > I'm embedding Ruby in a C program. If the Ruby program throws an > exception, I'd like to catch it and print out the error. How could I > do that? I can protect the function that might return an exception (via rb_protect), but how can I display the reason why the exception was thrown (hopefully along with a backtrace)?