Class: BlobsUnread
Defined in: vault-core/src/sync.ts:44 (opens in a new tab)
Thrown by fetchBlobs when some blobs could not be read (a refusal, an
outage, a network error; not a blob that is gone). fetched holds the ones
that were read and failed the rest with why, so a caller never mistakes a
partial pull for the whole vault.
ExtendsLink to this section
Error
ConstructorsLink to this section
ConstructorLink to this section
new BlobsUnread(
fetched: FetchedBlob[],
failed: {
reason: string;
ref: BlobRef;
}[],
listed: number): BlobsUnread;
Defined in: vault-core/src/sync.ts:45 (opens in a new tab)
ParametersLink to this section
| Parameter | Type |
|---|---|
fetched | FetchedBlob[] |
failed | { reason: string; ref: BlobRef; }[] |
listed | number |
ReturnsLink to this section
BlobsUnread
OverridesLink to this section
Error.constructor
PropertiesLink to this section
| Property | Type | Description | Defined in |
|---|---|---|---|
failed | { reason: string; ref: BlobRef; }[] | Modifier readonly · Inherited from - | vault-core/src/sync.ts:47 (opens in a new tab) |
fetched | FetchedBlob[] | Modifier readonly · Inherited from - | vault-core/src/sync.ts:46 (opens in a new tab) |
listed | number | Modifier readonly · Inherited from - | vault-core/src/sync.ts:48 (opens in a new tab) |
message | string | Modifier public · Inherited from Error.message | node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | string | Modifier public · Inherited from Error.name | node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | string | Modifier public · Inherited from Error.stack | node_modules/typescript/lib/lib.es5.d.ts:1078 |