Class: StackScopeMismatchError
Defined in: packages/client/src/plugins/pouchdb.ts:56
A write whose ~scope label disagrees with its sealed payloads' key ids
(spec 02 §2.3 rule 2). Refused, never repaired: re-sealing content the
writer could not open under the labeled scope's key is exactly the
induced-downgrade attack a tampered label is fishing for. A legitimate
relabel opens the original scope first, so its payloads arrive as plaintext.
Extends
Error
Constructors
Constructor
new StackScopeMismatchError(
docId,
scopeId,
kid): StackScopeMismatchError;
Defined in: packages/client/src/plugins/pouchdb.ts:61
Parameters
| Parameter | Type |
|---|---|
docId | string |
scopeId | string |
kid | string |
Returns
StackScopeMismatchError
Overrides
Error.constructor
Properties
| Property | Modifier | Type | Default value | Overrides | Defined in |
|---|---|---|---|---|---|
docId | readonly | string | undefined | - | packages/client/src/plugins/pouchdb.ts:58 |
name | public | string | "StackScopeMismatchError" | Error.name | packages/client/src/plugins/pouchdb.ts:57 |
scopeId | readonly | string | undefined | - | packages/client/src/plugins/pouchdb.ts:59 |