SchemaCompatibilityError
The connect-time refusal of the declared-breaking tier (ADR 22936 D3):
one error naming the served fingerprint and epoch as the bundle to rebuild
against, and the SDK’s own pin. Thrown only when the caller opted in with
refuseDeclaredBreakingSchema; the SDK has already closed the host it
spawned when this reaches the caller, so a refusal orphans nothing. Its
fields are the warning’s flat fields (served, servedEpoch, pinned,
pinnedEpoch), so code that handles both sees one shape.
Properties
Section titled “Properties”| Property | Type | Stability | Presence | Description |
|---|---|---|---|---|
kind |
"schemaCompatibilityRefused" |
required | ||
pinned |
string |
required | ||
pinnedEpoch |
number |
required | ||
served |
string |
required | ||
servedEpoch |
number |
required | ||
tier |
"declaredBreaking" |
required |
Methods
Section titled “Methods”| Method | Signature | Stability | Description |
|---|---|---|---|
constructor |
new SchemaCompatibilityError(warning: DeclaredBreakingFingerprintWarning) |
Source
clients/sdk-ts/src/fingerprint.ts:213
{ "kind": "Class", "canonicalPath": "SchemaCompatibilityError"}