Skip to content

fileRefused

function fileRefused(
provider,
adapter,
part
): ProviderError;

Defined in: core/src/errors.ts:874

A file part on a wire that cannot carry one. Refused, never dropped: a dropped attachment is a model answering about a file it never saw, on the happy path, where nothing retries and nothing logs. adapter names the wire, because provider is often a gateway’s id rather than the shape’s.

Parameter Type
provider string
adapter string
part FilePart

ProviderError