The hook or diagnostic name the failure is attributed to, for display and correlation.
Which diagnostic fired: "hook-failure", "state-owner", or "token-refresh".
Human-readable description of the failure.
OptionalrequestThe correlation ID of the affected request, when one is in scope.
Fixed marker "anilink" identifying the library as the emit source.
The structured record every library diagnostic is emitted through, the shape
reportDiagnostichands to OnHookErrorHandler observers and serializes into theconsole.warnfallback. Machine-readable fields (source,kind,requestId) replace prose parsing so platform log collectors can filter and route the library's only unsolicited output.kindis the sole machine key to switch on;hookNamenames the specific hook (or reserved diagnostic name) for display and correlation, not for branching.