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
Properties
code
readonlycode:string
Defined in: core/src/domain/errors/tenancy-error.ts:9
Inherited from
details
readonlydetails:Readonly<Record<string,unknown>> ={}
Defined in: core/src/domain/errors/tenancy-error.ts:11
Inherited from
path
readonlypath:string
Defined in: core/src/storage/tenant-storage.ts:5