Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Exceptions::StepHasNoOrganizer

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(step:) ⇒ Object



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

def initialize_with_kwargs(step:)
  message = <<~TEXT
    Step `#{step.printable_action}` has not assigned organizer.

    Did you forget to set it?
  TEXT

  initialize(message)
end