Exception: Railsmith::Pipeline::ParamMappingError
- Inherits:
-
StandardError
- Object
- StandardError
- Railsmith::Pipeline::ParamMappingError
- Defined in:
- lib/railsmith/pipeline/errors.rb
Overview
Raised when an inputs: mapping references a key absent from accumulated params.
Instance Method Summary collapse
-
#initialize(step_name, source_key) ⇒ ParamMappingError
constructor
A new instance of ParamMappingError.
Constructor Details
#initialize(step_name, source_key) ⇒ ParamMappingError
Returns a new instance of ParamMappingError.
7 8 9 10 |
# File 'lib/railsmith/pipeline/errors.rb', line 7 def initialize(step_name, source_key) super("Pipeline step :#{step_name} inputs: mapping references :#{source_key} " \ "which is not present in accumulated params") end |