instance method rescue_action

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(exception)

Exception handler called when the performance of an action raises an exception.

Parameters

exception req
Source
# File actionpack/lib/action_controller/rescue.rb, line 60
      def rescue_action(exception)
        rescue_with_handler(exception) || rescue_action_without_handler(exception)
      end

Defined in actionpack/lib/action_controller/rescue.rb line 60 · 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