Exception: Rasti::DB::NQL::InvalidExpressionError
- Inherits:
-
StandardError
- Object
- StandardError
- Rasti::DB::NQL::InvalidExpressionError
- Defined in:
- lib/rasti/db/nql/invalid_expression_error.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Instance Method Summary collapse
-
#initialize(expression) ⇒ InvalidExpressionError
constructor
A new instance of InvalidExpressionError.
- #message ⇒ Object
Constructor Details
#initialize(expression) ⇒ InvalidExpressionError
Returns a new instance of InvalidExpressionError.
8 9 10 |
# File 'lib/rasti/db/nql/invalid_expression_error.rb', line 8 def initialize(expression) @expression = expression end |
Instance Attribute Details
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
6 7 8 |
# File 'lib/rasti/db/nql/invalid_expression_error.rb', line 6 def expression @expression end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/rasti/db/nql/invalid_expression_error.rb', line 12 def "Invalid filter expression: #{expression}" end |