Ilessa
0
Q:

ruby catch all exceptions

begin
  raise 'This exception will be rescued!'
rescue StandardError => e
  puts "Rescued: #{e.inspect}"
end
0

New to Communities?

Join the community