Skip to main content

Class: FosciaError

core.FosciaError

Extendable error class used inside Foscia.

Hierarchy

Constructors

constructor

new FosciaError(message)

Construct a new FosciaError. Prefix the given message with "[foscia]".

Parameters

NameType
messagestring

Overrides

Error.constructor

Defined in

src/core/errors/fosciaError.ts:10

Properties

cause

Optional cause: unknown

Inherited from

Error.cause

Defined in

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.error.d.ts:24


message

message: string

Inherited from

Error.message

Defined in

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1068


name

name: string

Inherited from

Error.name

Defined in

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1067


stack

Optional stack: string

Inherited from

Error.stack

Defined in

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1069