Skip to content

WarmHubErrorDetails

WarmHubErrorDetails = NonNullable<BackendCommitDiagnostic["details"]> | { reason: "legacy-wrefs-sdk"; } | ShapeCountsUnavailableDetails | OldNameDetails

Structured backend error details surfaced on data.warmhub.details. Derived from the generated wire type so it stays in lockstep with the backend’s WarmHubError.details union. Branch on details.reason to recover the structured payload type-safely — e.g. read currentVersion after an expected_version_mismatch to retry against HEAD (#3624), or leaseExpiresAt after a lease_held to back off until the lease expires (#3625).

NonNullable<BackendCommitDiagnostic["details"]>


{ reason: "legacy-wrefs-sdk"; }

A CLIENT_INCOMPATIBLE refusal’s cause, a stable reason to branch on: legacy-wrefs-sdk is the SDK refusing every call under legacy-wrefs.


ShapeCountsUnavailableDetails


OldNameDetails