method

rescue_with_handler

rails latest stable - Class: ActionController::Rescue

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

rescue_with_handler(exception)
public

No documentation available.

# File actionpack/lib/action_controller/metal/rescue.rb, line 9
    def rescue_with_handler(exception)
      if (exception.respond_to?(:original_exception) &&
          (orig_exception = exception.original_exception) &&
          handler_for_rescue(orig_exception))
        exception = orig_exception
      end
      super(exception)
    end