Skip to content

Documentation / @tenancy-node/core / TenantNotIdentifiedError

Class: TenantNotIdentifiedError ​

Defined in: core/src/domain/errors/errors.ts:11

Se pidió el tenant actual pero no hay ninguno en el contexto.

Extends ​

Constructors ​

Constructor ​

new TenantNotIdentifiedError(message?): TenantNotIdentifiedError

Defined in: core/src/domain/errors/errors.ts:12

Parameters ​

message? ​

string = 'No tenant could be identified for this context'

Returns ​

TenantNotIdentifiedError

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

Publicado bajo la licencia MIT.