Skip to main content

Class: UnsatisfiedFlagError

Thrown when flag was expecting input that was not provided.

Extends

Constructors

new UnsatisfiedFlagError()

new UnsatisfiedFlagError(externalFlagName, nextFlagName?): UnsatisfiedFlagError

Parameters

externalFlagName: ExternalFlagName

nextFlagName?: ExternalFlagName

Returns

UnsatisfiedFlagError

Overrides

ArgumentScannerError.constructor

Defined in

packages/core/src/parameter/scanner.ts:259

Properties

cause?

optional cause: unknown

Inherited from

ArgumentScannerError.cause

Defined in

node_modules/typescript/lib/lib.es2022.error.d.ts:24


externalFlagName

readonly externalFlagName: string

External name of flag that was active when this error was thrown.

Defined in

packages/core/src/parameter/scanner.ts:254


message

message: string

Inherited from

ArgumentScannerError.message

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1077


name

name: string

Inherited from

ArgumentScannerError.name

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1076


nextFlagName?

readonly optional nextFlagName: string

External name of flag that interrupted the original flag.

Defined in

packages/core/src/parameter/scanner.ts:258


stack?

optional stack: string

Inherited from

ArgumentScannerError.stack

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1078