Exception: Featureflip::UnevaluableEntityError

Inherits:
Error
  • Object
show all
Defined in:
lib/featureflip/errors.rb

Overview

Raised when a flag or segment carries an enum value this SDK build cannot EVALUATE — an unrecognised serve.type or conditionLogic (#2402).

Distinct from MalformedPayloadError, and the distinction is the whole point. That one means the payload is the wrong SHAPE and is discarded wholesale. This one means the payload is perfectly well-formed and simply describes behaviour a newer server understands and this build does not — so only the containing ENTITY is dropped and the rest of the configuration still applies.

Not raised for an unrecognised condition OPERATOR: the evaluator already fails an unknown operator closed (#2262), so the condition just does not match and the flag remains perfectly evaluable. serve.type and conditionLogic have no such fail-closed arm — each dispatches on a two-way branch and an unrecognised value takes the ELSE arm, silently serving a rollout or matching ANY condition.