Exception: OData::AbstractQuery::Errors::AbstractQueryException
- Inherits:
-
ODataException
- Object
- StandardError
- ODataException
- OData::AbstractQuery::Errors::AbstractQueryException
- Defined in:
- lib/o_data/abstract_query/errors.rb
Direct Known Subclasses
AbstractQueryKeyValueException, AbstractQueryOptionException, AbstractQuerySegmentException, ParseQuerySegmentException
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query) ⇒ AbstractQueryException
constructor
A new instance of AbstractQueryException.
- #to_s ⇒ Object
Constructor Details
#initialize(query) ⇒ AbstractQueryException
Returns a new instance of AbstractQueryException.
7 8 9 |
# File 'lib/o_data/abstract_query/errors.rb', line 7 def initialize(query) @query = query end |
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
5 6 7 |
# File 'lib/o_data/abstract_query/errors.rb', line 5 def query @query end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/o_data/abstract_query/errors.rb', line 11 def to_s "An unknown error has occured." end |