method

handler_for_rescue

rails latest stable - Class: ActionController::Rescue::ClassMethods

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

handler_for_rescue(exception, ...)
public

No documentation available.

# File actionpack/lib/action_controller/metal/rescue.rb, line 17
      def handler_for_rescue(exception, ...) # :nodoc:
        if handler = super
          ActiveSupport::Notifications.instrument("rescue_from_callback.action_controller", exception: exception)
          handler
        end
      end