Skip to content
v3.3.0

ExpectedOneOfValuesError

Error thrown when the value was expected to be set for a config parameter. It also displays the expected value. This error might be thrown while setting or updating the ConfigParams. The following methods accept ConfigParams as a parameter:

see buildEmpty

see buildFromArray

see buildFromSheets

see updateConfig

+ new ExpectedOneOfValuesError(values: string, paramName: string): ExpectedOneOfValuesError

Defined in src/errors.ts:242

Parameters:

NameType
valuesstring
paramNamestring

Returns: ExpectedOneOfValuesError

message: string


name: string


stack? : undefined | string


Error: ErrorConstructor