Exception: ConvenientService::Service::Plugins::CanHaveConnectedSteps::Exceptions::ElseWithoutIf
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Service::Plugins::CanHaveConnectedSteps::Exceptions::ElseWithoutIf
- Defined in:
- lib/convenient_service/service/plugins/can_have_connected_steps/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(container:, method:) ⇒ void
This method returns an undefined value.
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/exceptions.rb', line 107 def initialize_with_kwargs(container:, method:) printable_container = Utils::Class.display_name(container) = <<~TEXT First step of `#{method}` from `#{printable_container}` is NOT set. Did you forget to use `step`? For example: class #{printable_container} # ... #{method} SomeService do step SomeOtherService # ... end # ... end TEXT initialize() end |