Ruby on Rails 7.2.1 Module ActiveSupport::Rescuable::ClassMethods activesupport/lib/active_support/rescuable.rb Registers exception classes with a handler to be called by rescue_with_handler. rescue_from receives a series of exception classes or class names, and an exception handler specified by a trailing :with option containing the name of a method or a Proc object. Alternatively, a block can be