English
Appearance
basalt / comments/src / CommentMentionLimitError
Defined in: comments/src/comments.ts:64
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 CommentMentionLimitError(max): CommentMentionLimitError
max
CommentMentionLimitError
Defined in: comments/src/comments.ts:66
number
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:65
basalt / comments/src / CommentMentionLimitError
Class: CommentMentionLimitError
Defined in: comments/src/comments.ts:64
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 CommentMentionLimitError(
max):CommentMentionLimitErrorDefined in: comments/src/comments.ts:66
Parameters
max
numberReturns
CommentMentionLimitErrorOverrides
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:65