Skip to main content

Class: FreeGanttError

Defined in: model/errors.ts:103

The base every catchable error extends, and the one api/index.ts publishes. Its code is open, so a consumer can construct or subclass one with a code of their own.

Extends​

  • Error

Extended by​

Constructors​

Constructor​

new FreeGanttError(code, message, options?): FreeGanttError

Defined in: model/errors.ts:106

Parameters​

code​

ThrownCode

message​

string

options?​

ErrorOptions

Returns​

FreeGanttError

Overrides​

Error.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104