Exception: ActionOperation::Error::StepSchemaMismatch
- Inherits:
-
ActionOperation::Error
- Object
- StandardError
- ActionOperation::Error
- ActionOperation::Error::StepSchemaMismatch
- Defined in:
- lib/action_operation/error/step_schema_mismatch.rb
Instance Method Summary collapse
-
#initialize(step:, schema:, raw:) ⇒ StepSchemaMismatch
constructor
A new instance of StepSchemaMismatch.
- #message ⇒ Object
Constructor Details
#initialize(step:, schema:, raw:) ⇒ StepSchemaMismatch
Returns a new instance of StepSchemaMismatch.
4 5 6 7 8 |
# File 'lib/action_operation/error/step_schema_mismatch.rb', line 4 def initialize(step:, schema:, raw:) @step = step @schema = schema @raw = raw end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/action_operation/error/step_schema_mismatch.rb', line 10 def "#{@step.receiver}##{@step.name} #{cause.message} and received #{@raw}" end |