AniLink - v3.0.0
    Preparing search index...

    Interface AniLinkDiagnostic

    The structured record every library diagnostic is emitted through, the shape reportDiagnostic hands to OnHookErrorHandler observers and serializes into the console.warn fallback. Machine-readable fields (source, kind, requestId) replace prose parsing so platform log collectors can filter and route the library's only unsolicited output. kind is the sole machine key to switch on; hookName names the specific hook (or reserved diagnostic name) for display and correlation, not for branching.

    interface AniLinkDiagnostic {
        hookName: string;
        kind: "hook-failure" | "state-owner" | "token-refresh";
        message: string;
        requestId?: string;
        source: "anilink";
    }
    Index
    hookName: string

    The hook or diagnostic name the failure is attributed to, for display and correlation.

    kind: "hook-failure" | "state-owner" | "token-refresh"

    Which diagnostic fired: "hook-failure", "state-owner", or "token-refresh".

    message: string

    Human-readable description of the failure.

    requestId?: string

    The correlation ID of the affected request, when one is in scope.

    source: "anilink"

    Fixed marker "anilink" identifying the library as the emit source.