ContextInstanceEvaluationReason
Name
Type
Description
Notes
kind
string
Describes the general reason that LaunchDarkly selected this variation.
[default to undefined]
ruleIndex
number
The positional index of the matching rule if the kind is 'RULE_MATCH'. The index is 0-based.
[optional] [default to undefined]
ruleID
string
The unique identifier of the matching rule if the kind is 'RULE_MATCH'.
[optional] [default to undefined]
prerequisiteKey
string
The key of the flag that failed if the kind is 'PREREQUISITE_FAILED'.
[optional] [default to undefined]
inExperiment
boolean
Indicates whether the context was evaluated as part of an experiment.
[optional] [default to undefined]
errorKind
string
The specific error type if the kind is 'ERROR'.
[optional] [default to undefined]
import { ContextInstanceEvaluationReason } from 'launchdarkly-api-typescript' ;
const instance : ContextInstanceEvaluationReason = {
kind,
ruleIndex,
ruleID,
prerequisiteKey,
inExperiment,
errorKind,
} ;
[Back to Model list] [Back to API list] [Back to README]