Skip to content

basalt / drives/src / DriveContentTooLargeError

Class: DriveContentTooLargeError ​

Defined in: drives/src/errors.ts:146

A download exceeded the configured byte cap and was abandoned mid-stream.

Extends ​

Constructors ​

Constructor ​

> new DriveContentTooLargeError(maxBytes): DriveContentTooLargeError

Defined in: drives/src/errors.ts:148

Parameters ​

maxBytes ​

number

Returns ​

DriveContentTooLargeError

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: 413 = 413

Defined in: drives/src/errors.ts:147

Released under the MIT License.