Exception: LaunchDarkly::Impl::EvaluationException
- Inherits:
-
StandardError
- Object
- StandardError
- LaunchDarkly::Impl::EvaluationException
- Defined in:
- lib/ldclient-rb/impl/evaluator.rb
Overview
Direct Known Subclasses
Instance Attribute Summary collapse
- #error_kind ⇒ Symbol readonly
Instance Method Summary collapse
-
#initialize(msg, error_kind = EvaluationReason::ERROR_MALFORMED_FLAG) ⇒ EvaluationException
constructor
A new instance of EvaluationException.
Constructor Details
#initialize(msg, error_kind = EvaluationReason::ERROR_MALFORMED_FLAG) ⇒ EvaluationException
Returns a new instance of EvaluationException.
18 19 20 21 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 18 def initialize(msg, error_kind = EvaluationReason::ERROR_MALFORMED_FLAG) super(msg) @error_kind = error_kind end |
Instance Attribute Details
#error_kind ⇒ Symbol (readonly)
24 25 26 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 24 def error_kind @error_kind end |