Exception: Parse::Agent::ConstraintTranslator::InvalidOperatorError
- Inherits:
-
StandardError
- Object
- StandardError
- Parse::Agent::ConstraintTranslator::InvalidOperatorError
- Defined in:
- lib/parse/agent/constraint_translator.rb
Overview
Validation error for unknown/invalid operators
Instance Attribute Summary collapse
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
Instance Method Summary collapse
-
#initialize(message, operator: nil) ⇒ InvalidOperatorError
constructor
A new instance of InvalidOperatorError.
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(, operator: nil) @operator = operator super() end |
Instance Attribute Details
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
41 42 43 |
# File 'lib/parse/agent/constraint_translator.rb', line 41 def operator @operator end |