Skip to content

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 ​

Constructors ​

Constructor ​

> new CommentTenantReservedError(): CommentTenantReservedError

Defined in: comments/src/comments.ts:39

Returns ​

CommentTenantReservedError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: 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.details


status ​

> readonly status: 400 = 400

Defined in: comments/src/comments.ts:38

Released under the MIT License.