Member predicate RescueClause::getAnException
Gets an exception to match, if any. For example FirstError
or SecondError
in:
begin
do_something
rescue FirstError, SecondError => e
handle_error(e)
end
Gets an exception to match, if any. For example FirstError
or SecondError
in:
begin
do_something
rescue FirstError, SecondError => e
handle_error(e)
end