Skip to main content

Class: UnknownCommandError

Defined in: model/errors.ts:1065

code: 'unknown-command' — CommandRegistry.run(id) given an id nothing registered. A binding whose command names an id nothing owns is not this: the keymap resolver treats an unresolved binding as a non-match and falls through, rather than surfacing the mistake mid-key-press.

Extends​

Constructors​

Constructor​

new UnknownCommandError(commandId): UnknownCommandError

Defined in: model/errors.ts:1068

Parameters​

commandId​

string

Returns​

UnknownCommandError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104

Inherited from​

FreeGanttError.code


commandId​

readonly commandId: string

Defined in: model/errors.ts:1066