Skip to content

StoreError

Defined in: packages/synapse-sdk/src/errors/storage.ts:12

Primary store failed - no data stored anywhere. Thrown when the initial upload to the primary provider fails.

new StoreError(message, options?): StoreError

Defined in: packages/synapse-sdk/src/errors/storage.ts:23

Create a new StoreError

Parameter Type Description
message string The error message
options? StorageErrorOptions StorageErrorOptions

StoreError

SynapseError.constructor

[symbol]: boolean

Defined in: packages/synapse-core/dist/src/errors/base.d.ts:9

SynapseError.[symbol]


optional cause?: Error

Defined in: packages/synapse-core/dist/src/errors/base.d.ts:11

SynapseError.cause


optional details?: string

Defined in: packages/synapse-core/dist/src/errors/base.d.ts:12

SynapseError.details


optional endpoint?: string

Defined in: packages/synapse-sdk/src/errors/storage.ts:15


name: "StoreError" = 'StoreError'

Defined in: packages/synapse-sdk/src/errors/storage.ts:13

SynapseError.name


optional providerId?: string

Defined in: packages/synapse-sdk/src/errors/storage.ts:14


shortMessage: string

Defined in: packages/synapse-core/dist/src/errors/base.d.ts:13

SynapseError.shortMessage

toJSON(): object

Defined in: packages/synapse-sdk/src/errors/storage.ts:29

object

endpoint: string | undefined

providerId: string | undefined

SynapseError.toJSON


static is(value): value is StoreError

Defined in: packages/synapse-sdk/src/errors/storage.ts:37

Parameter Type
value unknown

value is StoreError

SynapseError.is