Exception: ConvenientService::Service::Plugins::CanHaveConnectedSteps::Exceptions::ServiceHasNoSteps

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(service_class:) ⇒ void

This method returns an undefined value.

Parameters:



97
98
99
100
101
102
103
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/exceptions.rb', line 97

def initialize_with_kwargs(service_class:)
  message = <<~TEXT
    #{Utils::Class.display_name(service_class)} has NO steps.
  TEXT

  initialize(message)
end