English
Appearance
basalt / comments/src / CommentTenantRequiredError
Defined in: comments/src/comments.ts:12
Base error for the whole ecosystem. The code is stable and part of the semver contract — apps can safely branch on codes.
code
BasaltError
> new CommentTenantRequiredError(): CommentTenantRequiredError
CommentTenantRequiredError
Defined in: comments/src/comments.ts:14
BasaltError.constructor
constructor
> readonly code: string
readonly
string
Defined in: core/src/errors.ts:25
BasaltError.code
> readonly optional details?: Record<string, unknown>
optional
Record
unknown
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
BasaltError.details
details
> readonly status: 400 = 400
400
Defined in: comments/src/comments.ts:13
basalt / comments/src / CommentTenantRequiredError
Class: CommentTenantRequiredError
Defined in: comments/src/comments.ts:12
Base error for the whole ecosystem. The
codeis stable and part of the semver contract — apps can safely branch on codes.Extends
BasaltErrorConstructors
Constructor
> new CommentTenantRequiredError():
CommentTenantRequiredErrorDefined in: comments/src/comments.ts:14
Returns
CommentTenantRequiredErrorOverrides
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:13