basalt / storage/src / StorageStreamLengthRequiredError
Class: StorageStreamLengthRequiredError
Defined in: storage/src/errors.ts:135
A streaming upload needs an exact contentLength on this backend and none was given. 400: the caller chose the body.
Extends
Constructors
Constructor
> new StorageStreamLengthRequiredError(driver, detail): StorageStreamLengthRequiredError
Defined in: storage/src/errors.ts:137
Parameters
driver
string
detail
string
Returns
StorageStreamLengthRequiredError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
status
> readonly status: 400 = 400
Defined in: storage/src/errors.ts:136