Exception: Trample::AggregationNotDefinedError
- Inherits:
-
StandardError
- Object
- StandardError
- Trample::AggregationNotDefinedError
- Defined in:
- lib/trample/errors.rb
Instance Method Summary collapse
-
#initialize(search, agg_name) ⇒ AggregationNotDefinedError
constructor
A new instance of AggregationNotDefinedError.
- #message ⇒ Object
Constructor Details
#initialize(search, agg_name) ⇒ AggregationNotDefinedError
Returns a new instance of AggregationNotDefinedError.
17 18 19 20 |
# File 'lib/trample/errors.rb', line 17 def initialize(search, agg_name) @search = search @agg_name = agg_name end |
Instance Method Details
#message ⇒ Object
22 23 24 |
# File 'lib/trample/errors.rb', line 22 def "Could not find facet #{@agg_name} in search #{@search.class}" end |