Exception: Graphiti::Errors::StatNotFound
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(attribute, calculation) ⇒ StatNotFound
constructor
A new instance of StatNotFound.
- #message ⇒ Object
Constructor Details
#initialize(attribute, calculation) ⇒ StatNotFound
Returns a new instance of StatNotFound.
754 755 756 757 |
# File 'lib/graphiti/errors.rb', line 754 def initialize(attribute, calculation) @attribute = attribute @calculation = calculation end |
Instance Method Details
#message ⇒ Object
759 760 761 |
# File 'lib/graphiti/errors.rb', line 759 def "No stat configured for calculation #{pretty(@calculation)} on attribute #{pretty(@attribute)}" end |