Skip to main content

Class: UnsupportedLagUnitError

Defined in: model/errors.ts:1124

code: 'unsupported-lag-unit' — a Dependency lag in a unit other than day. A week, month or year has no fixed length in days, so the store refuses it. operation names the caller.

Extends​

Constructors​

Constructor​

new UnsupportedLagUnitError(unit, operation): UnsupportedLagUnitError

Defined in: model/errors.ts:1128

Parameters​

unit​

string

operation​

string

Returns​

UnsupportedLagUnitError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:109

Inherited from​

FreeGanttError.code


operation​

readonly operation: string

Defined in: model/errors.ts:1126


unit​

readonly unit: string

Defined in: model/errors.ts:1125