Exception: OData::AbstractQuery::Errors::AbstractQueryException

Inherits:
ODataException
  • Object
show all
Defined in:
lib/o_data/abstract_query/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#queryObject (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_sObject



11
12
13
# File 'lib/o_data/abstract_query/errors.rb', line 11

def to_s
  "An unknown error has occured."
end