Member predicate RescueClause::getException
Gets the n
th 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 n
th 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)