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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(service_class:) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

Since:

  • 1.0.0



193
194
195
196
197
198
199
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/exceptions.rb', line 193

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

  initialize(message)
end