Exception: ConvenientService::Common::Plugins::CanHaveCallbacks::Exceptions::AroundCallbackChainIsNotContinued
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Common::Plugins::CanHaveCallbacks::Exceptions::AroundCallbackChainIsNotContinued
- Defined in:
- lib/convenient_service/common/plugins/can_have_callbacks/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(callback:) ⇒ void
This method returns an undefined value.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/convenient_service/common/plugins/can_have_callbacks/exceptions.rb', line 16 def initialize_with_kwargs(callback:) = <<~TEXT Around callback chain is NOT continued from `#{callback.source_location_joined_by_colon}`. Did you forget to call `chain.yield`? For example: around :result do |chain| # ... chain.yield # ... end TEXT initialize() end |