@honua/sdk-js
    Preparing search index...

    Interface DegradedReason

    Reasons that a Source may have fulfilled a Query with a degraded strategy. Surfaced in Result.degraded. Downstream views should check this field before reporting numbers as authoritative.

    sourceId is populated by mixed-source consumers (#22) so a fan-out across multiple sources can attribute each degradation back to the exact source that triggered it without parsing the human-readable reason.

    interface DegradedReason {
        capability: Capability;
        protocol?: Protocol;
        reason: string;
        sourceId?: string;
    }
    Index

    Properties

    capability: Capability

    The capability that was missing or partially supported.

    protocol?: Protocol

    Which protocol the degradation was relative to.

    reason: string

    Human-readable explanation.

    sourceId?: string

    Optional id of the source that emitted this degradation. Set by the adapter when the degradation can be attributed to a specific source (the common case once mixed-source compositions are in play).