Exception: Pursuit::AggregateModifierNotFound
- Inherits:
-
QueryError
- Object
- StandardError
- Error
- QueryError
- Pursuit::AggregateModifierNotFound
- Defined in:
- lib/pursuit/aggregate_modifier_not_found.rb
Overview
Raised when an aggregate modifier cannot be found.
Instance Attribute Summary collapse
-
#aggregate_modifier ⇒ String
readonly
The aggregate modifier which does not map to an aggregate function.
Instance Method Summary collapse
-
#initialize(aggregate_modifier) ⇒ AggregateModifierNotFound
constructor
Creates a new error instance.
Constructor Details
#initialize(aggregate_modifier) ⇒ AggregateModifierNotFound
Creates a new error instance.
15 16 17 18 |
# File 'lib/pursuit/aggregate_modifier_not_found.rb', line 15 def initialize(aggregate_modifier) @aggregate_modifier = aggregate_modifier super("#{aggregate_modifier} is not a valid aggregate modifier") end |
Instance Attribute Details
#aggregate_modifier ⇒ String (readonly)
9 10 11 |
# File 'lib/pursuit/aggregate_modifier_not_found.rb', line 9 def aggregate_modifier @aggregate_modifier end |