Exception: OData::AbstractQuery::Errors::InvalidOptionValue
- Inherits:
-
AbstractQueryOptionException
- Object
- StandardError
- ODataException
- AbstractQueryException
- AbstractQueryOptionException
- OData::AbstractQuery::Errors::InvalidOptionValue
- Defined in:
- lib/o_data/abstract_query/errors.rb
Instance Attribute Summary
Attributes inherited from AbstractQueryOptionException
Attributes inherited from AbstractQueryException
Instance Method Summary collapse
Methods inherited from AbstractQueryOptionException
Methods inherited from AbstractQueryException
Constructor Details
This class inherits a constructor from OData::AbstractQuery::Errors::AbstractQueryOptionException
Instance Method Details
#to_s ⇒ Object
111 112 113 |
# File 'lib/o_data/abstract_query/errors.rb', line 111 def to_s "Invalid value for '#{self.option.option_name.to_s}' query option#{" - the only acceptable values are #{self.option.valid_values.collect { |v| v.to_s.inspect }.to_sentence}" if self.option.respond_to?(:valid_values)}." end |