basalt / storage/src / StorageContentLengthInvalidError
Class: StorageContentLengthInvalidError
Defined in: storage/src/errors.ts:147
The contentLength given to putStream is not a byte count: negative, fractional, not finite, or past Number.MAX_SAFE_INTEGER. Refused before a single byte is read. 400: the caller declared it.
Extends
Constructors
Constructor
> new StorageContentLengthInvalidError(value): StorageContentLengthInvalidError
Defined in: storage/src/errors.ts:149
Parameters
value
unknown
Returns
StorageContentLengthInvalidError
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:148