Exception: Pursuit::AggregateModifierNotFound

Inherits:
QueryError show all
Defined in:
lib/pursuit/aggregate_modifier_not_found.rb

Overview

Raised when an aggregate modifier cannot be found.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_modifierString (readonly)



9
10
11
# File 'lib/pursuit/aggregate_modifier_not_found.rb', line 9

def aggregate_modifier
  @aggregate_modifier
end