instance method rescue_action_without_handler

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

rescue_action_without_handler(exception)

No documentation comment.

Parameters

exception req
Source
# File actionpack/lib/action_controller/rescue.rb, line 117
      def rescue_action_without_handler(exception)
        log_error(exception) if logger
        erase_results if performed?

        # Let the exception alter the response if it wants.
        # For example, MethodNotAllowed sets the Allow header.
        if exception.respond_to?(:handle_response!)
          exception.handle_response!(response)
        end

        if consider_all_requests_local || local_request?
          rescue_action_locally(exception)
        else
          rescue_action_in_public(exception)
        end
      end

Defined in actionpack/lib/action_controller/rescue.rb line 117 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Rescue

Type at least 2 characters to search.

↑↓ navigate · open · esc close