Skip to content

FindPieceErrorOptions

Defined in: packages/synapse-core/src/errors/pdp.ts:109

optional cause?: Error

Defined in: packages/synapse-core/src/errors/provider.ts:8

The underlying request error, such as an HttpError or TimeoutError.

ProviderErrorOptions.cause


optional notFound?: boolean

Defined in: packages/synapse-core/src/errors/pdp.ts:111

Whether the provider answered that it does not have the piece, or not yet. Defaults to status === 404.


optional status?: number

Defined in: packages/synapse-core/src/errors/provider.ts:10

The HTTP status the service provider answered with.

ProviderErrorOptions.status