Documentation / @zerotal/tenancy / TenantNotFoundError
Class: TenantNotFoundError
Defined in: tenancy/src/errors.ts:8
No tenant could be resolved from the request, or the resolved identifier doesn't match any tenant. Renders as a 404 (content-negotiated by the framework's exception handler).
Extends
Constructors
Constructor
new TenantNotFoundError(
message?):TenantNotFoundError
Defined in: tenancy/src/errors.ts:9
Parameters
message?
string = "This account doesn’t exist."
Returns
TenantNotFoundError
Overrides
Properties
headers?
optionalheaders?:Record<string,string>
Defined in: core/src/errors/HttpError.ts:15
Inherited from
code
readonlycode:string
Defined in: core/src/errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: core/src/errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: core/src/errors/ZerotalError.ts:20