Class: InvalidNegatedFlagSyntaxError
Thrown when a value is provided for a negated flag.
Extends
Constructors
new InvalidNegatedFlagSyntaxError()
new InvalidNegatedFlagSyntaxError(
externalFlagName
,valueText
):InvalidNegatedFlagSyntaxError
Parameters
• externalFlagName: ExternalFlagName
• valueText: string
Returns
Overrides
ArgumentScannerError
.constructor
Defined in
packages/core/src/parameter/scanner.ts:457
Properties
cause?
optional
cause:unknown
Inherited from
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:452
message
message:
string
Inherited from
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1077
name
name:
string
Inherited from
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1076
stack?
optional
stack:string
Inherited from
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1078
valueText
readonly
valueText:string
Input text equivalent to right hand side of input