Skip to content

basalt / comments/src / CommentTenantMismatchError

Class: CommentTenantMismatchError ​

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

An explicit tenantId named a different tenant than the one the call runs in. The context tenant is authoritative; an argument may narrow to it, never widen past it.

Extends ​

Constructors ​

Constructor ​

> new CommentTenantMismatchError(): CommentTenantMismatchError

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

Returns ​

CommentTenantMismatchError

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: 403 = 403

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

Released under the MIT License.