FindPieceErrorOptions
Defined in: packages/synapse-core/src/errors/pdp.ts:109
Extends
Section titled “Extends”Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:Error
Defined in: packages/synapse-core/src/errors/provider.ts:8
The underlying request error, such as an HttpError or TimeoutError.
Inherited from
Section titled “Inherited from”notFound?
Section titled “notFound?”
optionalnotFound?: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.
status?
Section titled “status?”
optionalstatus?:number
Defined in: packages/synapse-core/src/errors/provider.ts:10
The HTTP status the service provider answered with.