Skip to content
On this page

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

TypeScript
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

ParameterType
fetchedFetchedBlob[]
failed{ reason: string; ref: BlobRef; }[]
listednumber

ReturnsLink to this section

BlobsUnread

OverridesLink to this section

TypeScript
Error.constructor

PropertiesLink to this section

PropertyTypeDescriptionDefined in
failed{ reason: string; ref: BlobRef; }[]Modifier readonly · Inherited from -vault-core/src/sync.ts:47 (opens in a new tab)
fetchedFetchedBlob[]Modifier readonly · Inherited from -vault-core/src/sync.ts:46 (opens in a new tab)
listednumberModifier readonly · Inherited from -vault-core/src/sync.ts:48 (opens in a new tab)
messagestringModifier public · Inherited from Error.messagenode_modules/typescript/lib/lib.es5.d.ts:1077
namestringModifier public · Inherited from Error.namenode_modules/typescript/lib/lib.es5.d.ts:1076
stack?stringModifier public · Inherited from Error.stacknode_modules/typescript/lib/lib.es5.d.ts:1078