Answers for "ruby catch multiple exceptions"

0

ruby catch all exceptions

begin
  raise 'This exception will be rescued!'
rescue StandardError => e
  puts "Rescued: #{e.inspect}"
end
Posted by: Guest on June-29-2020

Code answers related to "ruby catch multiple exceptions"

Browse Popular Code Answers by Language