Exception: OData::AbstractQuery::Errors::InvalidOptionContext

Inherits:
AbstractQueryOptionException show all
Defined in:
lib/o_data/abstract_query/errors.rb

Instance Attribute Summary

Attributes inherited from AbstractQueryOptionException

#option

Attributes inherited from AbstractQueryException

#query

Instance Method Summary collapse

Methods inherited from AbstractQueryOptionException

#initialize

Methods inherited from AbstractQueryException

#initialize

Constructor Details

This class inherits a constructor from OData::AbstractQuery::Errors::AbstractQueryOptionException

Instance Method Details

#to_sObject



105
106
107
# File 'lib/o_data/abstract_query/errors.rb', line 105

def to_s
  "Invalid context for the query option '#{self.option.option_name.to_s}'."
end