Exception: Parse::Agent::ConstraintTranslator::InvalidOperatorError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parse/agent/constraint_translator.rb

Overview

Validation error for unknown/invalid operators

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, operator: nil) ⇒ InvalidOperatorError

Returns a new instance of InvalidOperatorError.



43
44
45
46
# File 'lib/parse/agent/constraint_translator.rb', line 43

def initialize(message, operator: nil)
  @operator = operator
  super(message)
end

Instance Attribute Details

#operatorObject (readonly)

Returns the value of attribute operator.



41
42
43
# File 'lib/parse/agent/constraint_translator.rb', line 41

def operator
  @operator
end