English
Appearance
basalt / comments/src / CommentNotFoundError
Defined in: comments/src/comments.ts:5
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 CommentNotFoundError(): CommentNotFoundError
CommentNotFoundError
Defined in: comments/src/comments.ts:7
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: 404 = 404
404
Defined in: comments/src/comments.ts:6
basalt / comments/src / CommentNotFoundError
Class: CommentNotFoundError
Defined in: comments/src/comments.ts:5
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 CommentNotFoundError():
CommentNotFoundErrorDefined in: comments/src/comments.ts:7
Returns
CommentNotFoundErrorOverrides
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:404=404Defined in: comments/src/comments.ts:6