Skip to main content
zerotal

Documentation


Documentation / @zerotal/core / storage / DiskNotConfiguredError

Class: DiskNotConfiguredError

Defined in: storage/errors.ts:16

Thrown when a disk name is not present in the storage config.

Extends

Constructors

Constructor

new DiskNotConfiguredError(disk): DiskNotConfiguredError

Defined in: storage/errors.ts:17

Parameters

disk

string

Returns

DiskNotConfiguredError

Overrides

StorageError.constructor

Properties

code

readonly code: string

Defined in: errors/ZerotalError.ts:18

Inherited from

StorageError.code


status

readonly status: number = 500

Defined in: errors/ZerotalError.ts:19

Inherited from

StorageError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: errors/ZerotalError.ts:20

Inherited from

StorageError.context