Rails Multiple Rescue

[Solved] Rails Multiple Rescue | Ruby - Code Explorer | yomemimo.com
Question : rails multiple rescue

Answered by : lior

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

Source : | Last Update : Thu, 02 Jun 22

Answers related to rails multiple rescue

Code Explorer Popular Question For Ruby