Module: ActionController::Rescue::ClassMethods
Relationships & Source Files | |
Defined in: | actionpack/lib/action_controller/metal/rescue.rb |
Instance Method Summary
- #handler_for_rescue(exception) Internal use only
Instance Method Details
#handler_for_rescue(exception)
This method is for internal use only.
[ GitHub ]
# 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