Exception: LaunchDarkly::Impl::EvaluationException Private
- Inherits:
-
StandardError
- Object
- StandardError
- LaunchDarkly::Impl::EvaluationException
- Defined in:
- lib/ldclient-rb/impl/evaluator.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Attribute Summary collapse
- #error_kind ⇒ Symbol readonly private
Instance Method Summary collapse
-
#initialize(msg, error_kind = EvaluationReason::ERROR_MALFORMED_FLAG) ⇒ EvaluationException
constructor
private
A new instance of EvaluationException.
Constructor Details
#initialize(msg, error_kind = EvaluationReason::ERROR_MALFORMED_FLAG) ⇒ EvaluationException
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of EvaluationException.
19 20 21 22 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 19 def initialize(msg, error_kind = EvaluationReason::ERROR_MALFORMED_FLAG) super(msg) @error_kind = error_kind end |
Instance Attribute Details
#error_kind ⇒ Symbol (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 25 def error_kind @error_kind end |