Exception: LaunchDarkly::Impl::EvaluationException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ldclient-rb/impl/evaluator.rb

Overview

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

Returns a new instance of EvaluationException.

Since:

  • 5.5.0



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_kindSymbol (readonly)

Returns:

  • (Symbol)

Since:

  • 5.5.0



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

def error_kind
  @error_kind
end