Exception: ConvenientService::RSpec::Matchers::Classes::Results::Base::Exceptions::InvalidStepIndex
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::RSpec::Matchers::Classes::Results::Base::Exceptions::InvalidStepIndex
- Defined in:
- lib/convenient_service/rspec/matchers/classes/results/base/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(step_index:) ⇒ 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.
48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/exceptions.rb', line 48 def initialize_with_kwargs(step_index:) = <<~TEXT Step index `#{step_index}` is NOT valid. `of_step` only accepts an `Integer` as `index`. For example: be_success.of_step(ReadFileContent, index: 0) be_success.of_step(:validate_path, index: 1) be_success.of_step(:result, index: 2) TEXT initialize() end |