Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Exceptions::CallerCanNotCalculateReassignment

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

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(method:) ⇒ void

This method returns an undefined value.



132
133
134
135
136
137
138
139
140
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/exceptions.rb', line 132

def initialize_with_kwargs(method:)
  message = <<~TEXT
    Method caller failed to calculate reassignment for `#{method.name}`.

    Method callers can calculate only `in` methods, while reassignments are always `out` methods.
  TEXT

  initialize(message)
end