Entity
    Preparing search index...

    Type Alias RuleEvaluationResultWithReasons

    A SKIP or DENY result accompanied by reason codes explaining why the rule did not allow.

    Reason codes are application-defined and should be enum-like. String enums are recommended: their members are assignable to string, and the privacy policy's denial handler can compare against them to select an end-user-facing message.

    Multiple reasons are permitted so that composite rules can surface the reasons of their sub-rules.

    type RuleEvaluationResultWithReasons = {
        reasons: readonly string[];
        result: RuleEvaluationResult;
    }
    Index
    reasons: readonly string[]