Skip to content

Documentation / @tenancy-node/core / InvalidStoragePathError

Class: InvalidStoragePathError ​

Defined in: core/src/storage/tenant-storage.ts:4

Base de todos los errores del paquete. Cada error tiene un code estable (por ejemplo TENANCY_TENANT_NOT_FOUND) que se puede usar en lugar del mensaje.

Los errores de dominio no incluyen detalles de infraestructura; esos van al log.

Extends ​

Constructors ​

Constructor ​

new InvalidStoragePathError(path): InvalidStoragePathError

Defined in: core/src/storage/tenant-storage.ts:5

Parameters ​

path ​

string

Returns ​

InvalidStoragePathError

Overrides ​

TenancyError.constructor

Properties ​

code ​

readonly code: string

Defined in: core/src/domain/errors/tenancy-error.ts:9

Inherited from ​

TenancyError.code


details ​

readonly details: Readonly<Record<string, unknown>> = {}

Defined in: core/src/domain/errors/tenancy-error.ts:11

Inherited from ​

TenancyError.details


path ​

readonly path: string

Defined in: core/src/storage/tenant-storage.ts:5

Publicado bajo la licencia MIT.