Member predicate RescueClause::getException
Gets the nth exception to match, if any. For example FirstError or SecondError in:
begin
do_something
rescue FirstError, SecondError => e
handle_error(e)
end
Expr getException(int n)Gets the nth exception to match, if any. For example FirstError or SecondError in:
begin
do_something
rescue FirstError, SecondError => e
handle_error(e)
end
Expr getException(int n)