Skip to content

basalt / storage/src / StorageUploadUrlInvalidError

Class: StorageUploadUrlInvalidError ​

Defined in: storage/src/errors.ts:182

The options passed to temporaryUploadUrl cannot be signed safely: missing or malformed content type, a non-integer length, a malformed checksum, or a maxBytes cap without a declared contentLength. 400: the caller chose them.

Extends ​

Constructors ​

Constructor ​

> new StorageUploadUrlInvalidError(reason): StorageUploadUrlInvalidError

Defined in: storage/src/errors.ts:184

Parameters ​

reason ​

string

Returns ​

StorageUploadUrlInvalidError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

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

Inherited from ​

BasaltError.code


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 ​

BasaltError.details


status ​

> readonly status: 400 = 400

Defined in: storage/src/errors.ts:183

Released under the MIT License.