Ruby - Error Handling
What will be the output of this Ruby code?
begin raise ArgumentError, 'wrong argument' rescue ZeroDivisionError puts 'Zero division error caught' rescue ArgumentError puts 'Argument error caught' end
