Skip to content

basalt / storage/src / TemporaryUrlTtlTooLongError

Class: TemporaryUrlTtlTooLongError ​

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

A temporary URL lifetime outside (0, maxTemporaryUrlTtl]. 400: the caller chose it.

Extends ​

Constructors ​

Constructor ​

> new TemporaryUrlTtlTooLongError(requestedMs, maxMs): TemporaryUrlTtlTooLongError

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

Parameters ​

requestedMs ​

number

maxMs ​

number

Returns ​

TemporaryUrlTtlTooLongError

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:255

Released under the MIT License.