BridgeDiagnosticCode type alias

Module @runic-artifex/views in @runic-artifex/views 0.23.0

type BridgeDiagnosticCode = Exclude<BridgeErrorKind, "released"> | "uncertain" | "timed-out" | "protocol" | "version" | "revision-timeout" | "stale-input" | "reported";

What a BridgeDiagnostic reports: a BridgeErrorKind other than released (a call of a released View is expected after navigation and is not reported), uncertain for a BridgeOperationUncertainError, timed-out for an operation wait that passed its timeout, protocol for a host that speaks another Views protocol version, version for a .NET Runic.Application.Views of another release than this @runic-artifex/views (no other producer is compared), revision-timeout for a reply whose revision the route did not reach within 5 seconds (a producer bug: the client then reads a snapshot), stale-input for script that wrote an older value into a focused input while a request was in flight (@runic-artifex/vite-plugin-runic in development), or reported for an application error the runtime caught. Open: a minor release may add a code, so handle unknown codes.