class ActionOperation::Error::StepSchemaMismatch

Public Class Methods

new(step:, schema:, raw:) click to toggle source
# File lib/action_operation/error/step_schema_mismatch.rb, line 4
def initialize(step:, schema:, raw:)
  @step = step
  @schema = schema
  @raw = raw
end

Public Instance Methods

message() click to toggle source
# File lib/action_operation/error/step_schema_mismatch.rb, line 10
def message
  "#{@step.receiver}##{@step.name} #{cause.message} and received #{@raw}"
end