Exception: Mongoid::Oslc::QuerySyntaxError
- Inherits:
-
Exception
- Object
- Exception
- Mongoid::Oslc::QuerySyntaxError
- Defined in:
- lib/mongoid/oslc/exceptions.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(message, query = nil) ⇒ QuerySyntaxError
constructor
A new instance of QuerySyntaxError.
Constructor Details
#initialize(message, query = nil) ⇒ QuerySyntaxError
Returns a new instance of QuerySyntaxError.
5 6 7 8 |
# File 'lib/mongoid/oslc/exceptions.rb', line 5 def initialize(, query = nil) @query = query super() end |
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
4 5 6 |
# File 'lib/mongoid/oslc/exceptions.rb', line 4 def query @query end |