Exception: Toggly::EvaluationError
- Defined in:
- lib/toggly/errors.rb
Overview
Raised when feature evaluation fails
Instance Attribute Summary collapse
-
#feature_key ⇒ Object
readonly
Returns the value of attribute feature_key.
Instance Method Summary collapse
-
#initialize(message, feature_key: nil) ⇒ EvaluationError
constructor
A new instance of EvaluationError.
Constructor Details
#initialize(message, feature_key: nil) ⇒ EvaluationError
Returns a new instance of EvaluationError.
28 29 30 31 |
# File 'lib/toggly/errors.rb', line 28 def initialize(, feature_key: nil) super() @feature_key = feature_key end |
Instance Attribute Details
#feature_key ⇒ Object (readonly)
Returns the value of attribute feature_key.
26 27 28 |
# File 'lib/toggly/errors.rb', line 26 def feature_key @feature_key end |