Ruby - Error Handling
Which of the following is the correct way to rescue an exception in Ruby using
begin/rescue/end?begin/rescue/end?begin/rescue/end blocks, not try/catch.begin # code rescue SomeError # handle error enduses correct Ruby keywords
begin and rescue.begin/rescue/end, not try/catch [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions