Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::HasResult::Exceptions::StepHasUnknownType

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/has_result/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(step:) ⇒ void

This method returns an undefined value.



17
18
19
20
21
22
23
24
25
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/has_result/exceptions.rb', line 17

def initialize_with_kwargs(step:)
  message = <<~TEXT
    Step `#{step.printable_action}` has unknown type.

    Please, ensure the first `step` argument has NO typos.
  TEXT

  initialize(message)
end