A tenant id equal to SINGLE_TENANT_SCOPE. That string is the store key of a single-tenant app's comments, so a tenant carrying it would read, edit and delete them. The default tenancy grammar can never produce it; a custom one that does must pick another id.
basalt / comments/src / CommentTenantReservedError
Class: CommentTenantReservedError
Defined in: comments/src/comments.ts:37
A tenant id equal to SINGLE_TENANT_SCOPE. That string is the store key of a single-tenant app's comments, so a tenant carrying it would read, edit and delete them. The default tenancy grammar can never produce it; a custom one that does must pick another id.
Extends
BasaltErrorConstructors
Constructor
> new CommentTenantReservedError():
CommentTenantReservedErrorDefined in: comments/src/comments.ts:39
Returns
CommentTenantReservedErrorOverrides
BasaltError.constructorProperties
code
>
readonlycode:stringDefined in: core/src/errors.ts:25
Inherited from
BasaltError.codedetails?
>
readonlyoptionaldetails?:Record<string,unknown>Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
BasaltError.detailsstatus
>
readonlystatus:400=400Defined in: comments/src/comments.ts:38