class ActionController::Base

Public Instance Methods

rescue_action_with_errorapp(exception) click to toggle source
# File lib/errorapp_notifier/notifiers/rails.rb, line 11
def rescue_action_with_errorapp(exception)
  unless exception_handled_by_rescue_from?(exception)
    ErrorappNotifier::Notify.notify_with_controller(
      exception,
      self,
      request
    )
    ErrorappNotifier.context.clear!
  end
  rescue_action_without_errorapp exception
end
Also aliased as: rescue_action
rescue_action_without_errorapp(exception)
Alias for: rescue_action

Protected Instance Methods

rescue_action(exception)

Private Instance Methods

exception_handled_by_rescue_from?(exception) click to toggle source
# File lib/errorapp_notifier/notifiers/rails.rb, line 29
def exception_handled_by_rescue_from?(exception)
  respond_to?(:handler_for_rescue) && handler_for_rescue(exception)
end