Module: ActionMessenger::Rescuable
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActiveSupport::Rescuable
- Included in:
- Base
- Defined in:
- lib/action_messenger/rescuable.rb
Instance Method Summary collapse
-
#handle_exceptions ⇒ Object
call rescue_from when an exception occurs.
Instance Method Details
#handle_exceptions ⇒ Object
call rescue_from when an exception occurs
7 8 9 10 11 |
# File 'lib/action_messenger/rescuable.rb', line 7 def handle_exceptions yield rescue => e rescue_with_handler(e) || raise(e) end |