Exception: ActionOperation::Error::MissingSchema

Inherits:
ActionOperation::Error show all
Defined in:
lib/action_operation/error/missing_schema.rb

Instance Method Summary collapse

Constructor Details

#initialize(step:) ⇒ MissingSchema

Returns a new instance of MissingSchema.



4
5
6
# File 'lib/action_operation/error/missing_schema.rb', line 4

def initialize(step:)
  @step = step
end

Instance Method Details

#messageObject



8
9
10
# File 'lib/action_operation/error/missing_schema.rb', line 8

def message
  "expected to see #{@step.name} have a schema but the receiver (#{@step.receiver.name}) didn't support it"
end