Exception: Decouplio::Errors::StepIsNotDefinedForStepError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/decouplio/errors/step_is_not_defined_for_step_error.rb

Instance Method Summary collapse

Methods inherited from BaseError

#initialize, #message

Constructor Details

This class inherits a constructor from Decouplio::Errors::BaseError

Instance Method Details

#interpolation_valuesObject



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/decouplio/errors/step_is_not_defined_for_step_error.rb', line 14

def interpolation_values
  [
    @errored_option,
    format(
      Decouplio::Const::Validations::Common::STEP_IS_NOT_DEFINED,
      @details
    ),
    Decouplio::Const::Validations::Step::ALLOWED_OPTIONS_MESSAGE,
    Decouplio::Const::Validations::Step::MANUAL_URL
  ]
end

#templateObject



10
11
12
# File 'lib/decouplio/errors/step_is_not_defined_for_step_error.rb', line 10

def template
  Decouplio::Const::Validations::Step::VALIDATION_ERROR_MESSAGE
end