Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Exceptions::OutMethodStepIsNotCompleted Private

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/method/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(method_name:) ⇒ 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:

  • method_name (Symbol)

Since:

  • 1.0.0



54
55
56
57
58
59
60
61
62
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 54

def initialize_with_kwargs(method_name:)
  message = <<~TEXT
    `out` method `#{method_name}` is called before its corresponding step is completed.

    Maybe it makes sense to change steps order?
  TEXT

  initialize(message)
end