Exception: OData::AbstractQuery::Errors::InvalidSegmentContext

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

Instance Attribute Summary

Attributes inherited from AbstractQuerySegmentException

#segment

Attributes inherited from AbstractQueryException

#query

Instance Method Summary collapse

Methods inherited from AbstractQuerySegmentException

#initialize

Methods inherited from AbstractQueryException

#initialize

Constructor Details

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

Instance Method Details

#to_sObject



64
65
66
# File 'lib/o_data/abstract_query/errors.rb', line 64

def to_s
  "Invalid context for the segment '#{@segment.value}'."
end