Exception: LaunchDarkly::Impl::EvaluationException Private

Inherits:
StandardError
  • Object
show all
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.

Since:

  • 5.5.0

Direct Known Subclasses

InvalidReferenceException

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Since:

  • 5.5.0



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_kindSymbol (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.

Returns:

  • (Symbol)

Since:

  • 5.5.0



25
26
27
# File 'lib/ldclient-rb/impl/evaluator.rb', line 25

def error_kind
  @error_kind
end