Skip to content

committedStoreUnreachableFromWire

committedStoreUnreachableFromWire(detail): CommittedStoreUnreachableError | undefined

Defined in: packages/client/src/store-boot.ts:216

Reconstruct a typed CommittedStoreUnreachableError from a bridge error’s detail. STRICT shape check: returns undefined for anything that is not exactly the { code: "committed-store-unreachable", storePath } wire form (a foreign/absent detail, a wrong code, a missing/non-string path, a non-object), so a different failure is never misclassified as this refusal. The single source of truth for the decoding — every bridge seam calls THIS, never its own shape sniff.

unknown

CommittedStoreUnreachableError | undefined