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



11
12
13
14
15
16
17
18
19
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/exceptions.rb', line 11

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

    Did you forget to set it?
  TEXT

  initialize(message)
end