# Functions
NewEvalReasonError returns an EvaluationReason whose Kind is [EvalReasonError].
NewEvalReasonFallthrough returns an EvaluationReason whose Kind is [EvalReasonFallthrough].
NewEvalReasonFallthroughExperiment returns an EvaluationReason whose Kind is [EvalReasonFallthrough].
NewEvalReasonFromReasonWithBigSegmentsStatus returns a copy of an EvaluationReason with a specific [BigSegmentsStatus] value added.
NewEvalReasonOff returns an EvaluationReason whose Kind is [EvalReasonOff].
NewEvalReasonPrerequisiteFailed returns an EvaluationReason whose Kind is [EvalReasonPrerequisiteFailed].
NewEvalReasonRuleMatch returns an EvaluationReason whose Kind is [EvalReasonRuleMatch].
NewEvalReasonRuleMatchExperiment returns an EvaluationReason whose Kind is [EvalReasonRuleMatch].
NewEvalReasonTargetMatch returns an EvaluationReason whose Kind is [EvalReasonTargetMatch].
NewEvaluationDetail constructs an EvaluationDetail, specifying all fields.
NewEvaluationDetailForError constructs an EvaluationDetail for an error condition.
# Constants
BigSegmentsHealthy indicates that the Big Segment query involved in the flag evaluation was successful, and that the segment state is considered up to date.
BigSegmentsNotConfigured indicates that Big Segments could not be queried for the flag evaluation because the SDK configuration did not include a big segment store.
BigSegmentsStale indicates that the Big Segment query involved in the flag evaluation was successful, but that the segment state may not be up to date.
BigSegmentsStoreError indicates that the Big Segment query involved in the flag evaluation failed, for instance due to a database error.
EvalErrorClientNotReady indicates that the caller tried to evaluate a flag before the client had successfully initialized.
EvalErrorException indicates that an unexpected error stopped flag evaluation; check the log for details.
EvalErrorFlagNotFound indicates that the caller provided a flag key that did not match any known flag.
EvalErrorMalformedFlag indicates that there was an internal inconsistency in the flag data, e.g.
EvalErrorUserNotSpecified indicates that the caller passed an invalid or uninitialized context.
EvalErrorWrongType indicates that the result value was not of the requested type, e.g.
EvalReasonError indicates that the flag could not be evaluated, e.g.
EvalReasonFallthrough indicates that the flag was on but the context did not match any targets or rules.
EvalReasonOff indicates that the flag was off and therefore returned its configured off value.
EvalReasonPrerequisiteFailed indicates that the flag was considered off because it had at least one prerequisite flag that either was off or did not return the desired variation.
EvalReasonRuleMatch indicates that the context matched one of the flag's rules.
EvalReasonTargetMatch indicates that the context key was specifically targeted for this flag.
# Structs
EvaluationDetail is an object returned by the SDK's "detail" evaluation methods, such as [github.com/launchdarkly/go-server-sdk/v6.LDClient.BoolVariationDetail], combining the result of a flag evaluation with an explanation of how it was calculated.
EvaluationReason describes the reason that a flag evaluation producted a particular value.
# Type aliases
BigSegmentsStatus defines the possible values of [EvaluationReason.GetBigSegmentsStatus].
EvalErrorKind defines the possible values of EvaluationReason.GetErrorKind().
EvalReasonKind defines the possible values of [EvaluationReason.GetKind].